summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-11-21 17:16:38 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:25 -0500
commit2b024b259de66e41992486d0ee95964822e9d693 (patch)
tree0c4a00e7becb5b72973994e1f54f9a11bc11e830 /include
parenta554c20592765a09bcc59a008cf4a29abc58aeb4 (diff)
downloadperk-2b024b259de66e41992486d0ee95964822e9d693.tar.bz2
perk-2b024b259de66e41992486d0ee95964822e9d693.tar.xz
perk_api.h: perform fallback linkage checking using canonical macro names.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk_api.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/perk/perk_api.h b/include/perk/perk_api.h
index 36221a4..450cd4a 100644
--- a/include/perk/perk_api.h
+++ b/include/perk/perk_api.h
@@ -4,15 +4,15 @@
#include <limits.h>
/* perk_export */
-#if defined(__attr_export__)
-#define perk_export __attr_export__
+#if defined(__dllexport)
+#define perk_export __dllexport
#else
#define perk_export
#endif
/* perk_import */
-#if defined(__attr_import__)
-#define perk_import __attr_import__
+#if defined(__dllimport)
+#define perk_import __dllimport
#else
#define perk_import
#endif