From 2b024b259de66e41992486d0ee95964822e9d693 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 21 Nov 2015 17:16:38 -0500 Subject: perk_api.h: perform fallback linkage checking using canonical macro names. --- include/perk/perk_api.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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 /* 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 -- cgit v1.2.3