summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/mdso/mdso_api.h4
-rw-r--r--project/extras.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/mdso/mdso_api.h b/include/mdso/mdso_api.h
index 196630d..2ad29b1 100644
--- a/include/mdso/mdso_api.h
+++ b/include/mdso/mdso_api.h
@@ -19,9 +19,9 @@
/* mdso_api */
#ifndef MDSO_APP
-#if defined (MDSO_BUILD)
+#if defined (MDSO_EXPORT)
#define mdso_api mdso_export
-#elif defined (MDSO_SHARED)
+#elif defined (MDSO_IMPORT)
#define mdso_api mdso_import
#elif defined (MDSO_STATIC)
#define mdso_api
diff --git a/project/extras.mk b/project/extras.mk
index ce65312..daace5f 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,4 +1,4 @@
-CFLAGS_SHARED_ATTR += -DMDSO_PRE_ALPHA -DMDSO_BUILD
+CFLAGS_SHARED_ATTR += -DMDSO_PRE_ALPHA -DMDSO_EXPORT
CFLAGS_STATIC_ATTR += -DMDSO_PRE_ALPHA -DMDSO_STATIC
CFLAGS_APP_ATTR += -DMDSO_APP