diff options
Diffstat (limited to 'include/freetype/config/ftconfig.h')
-rw-r--r-- | include/freetype/config/ftconfig.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/freetype/config/ftconfig.h b/include/freetype/config/ftconfig.h index b093f6f5f..3d127f8fa 100644 --- a/include/freetype/config/ftconfig.h +++ b/include/freetype/config/ftconfig.h @@ -457,7 +457,7 @@ FT_BEGIN_HEADER #ifdef FT2_BUILD_LIBRARY -#if defined( _WIN32 ) && ( defined( _DLL ) || defined( DLL_EXPORT ) ) +#if defined( _WIN32 ) && defined( DLL_EXPORT ) #define FT_EXPORT( x ) __declspec( dllexport ) x #elif defined( __GNUC__ ) && __GNUC__ >= 4 #define FT_EXPORT( x ) __attribute__(( visibility( "default" ) )) x @@ -471,7 +471,7 @@ FT_BEGIN_HEADER #else -#if defined( FT2_DLLIMPORT ) +#if defined( _WIN32 ) && defined( DLL_IMPORT ) #define FT_EXPORT( x ) __declspec( dllimport ) x #elif defined( __cplusplus ) #define FT_EXPORT( x ) extern "C" x |