diff options
-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) |