12 #if defined(COMPILER_MICROSOFT_VISUAL_STUDIO) && defined(ENVIRONMENT_32_BIT) 13 #define CALLING_CONVENTION __cdecl 14 #elif defined(COMPILER_GCC) && defined(ENVIRONMENT_32_BIT) 15 #define CALLING_CONVENTION __attribute__ ((cdecl)) 17 #define CALLING_CONVENTION 20 #if defined(VANILLAPDF_CONFIGURATION_DLL) && defined(COMPILER_MICROSOFT_VISUAL_STUDIO) 21 #if defined(VANILLAPDF_EXPORTS) 22 #define VANILLAPDF_API __declspec(dllexport) 24 #define VANILLAPDF_API __declspec(dllimport) 27 #define VANILLAPDF_API