diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 08:42:22 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 08:42:22 -0500 |
commit | 59dda176a9ae54404d3f8074c9226e981b638ab3 (patch) | |
tree | 4e15ea38e35a911f5bb5b96fdeed77819c280af4 | |
parent | 53b45fa599f293f62992abea222472acb512c8d3 (diff) | |
download | ntapi-59dda176a9ae54404d3f8074c9226e981b638ab3.tar.bz2 ntapi-59dda176a9ae54404d3f8074c9226e981b638ab3.tar.xz |
ntapi.h: fix export/import inconsistency.
-rw-r--r-- | include/ntapi/ntapi.h | 4 | ||||
-rw-r--r-- | project/extras.mk | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index 22db615..6247dc0 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -1,9 +1,9 @@ #ifndef _NTAPI_H_ #define _NTAPI_H_ -#if defined (NTAPI_BUILD) +#if defined (NTAPI_EXPORT) #define __ntapi_api __attr_export__ -#elif defined (NTAPI_SHARED) +#elif defined (NTAPI_IMPORT) #define __ntapi_api __attr_import__ #elif defined (NTAPI_STATIC) #define __ntapi_api diff --git a/project/extras.mk b/project/extras.mk index 6c7c392..1eeb26e 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,4 +1,4 @@ -CFLAGS_SHARED_ATTR += -DNTAPI_BUILD +CFLAGS_SHARED_ATTR += -DNTAPI_EXPORT CFLAGS_STATIC_ATTR += -DNTAPI_STATIC CFLAGS_CONFIG += -DMIDIPIX_FREESTANDING -D__NT$(HOST_BITS) |