21#if defined(COMPILER_MICROSOFT_VISUAL_STUDIO) && defined(PROCESSOR_X86)
22 #define CALLING_CONVENTION __cdecl
23#elif defined(COMPILER_GCC) && defined(PROCESSOR_X86)
24 #define CALLING_CONVENTION __attribute__ ((cdecl))
26 #define CALLING_CONVENTION
29#if defined(VANILLAPDF_CONFIGURATION_DLL) && defined(COMPILER_MICROSOFT_VISUAL_STUDIO)
30 #if defined(VANILLAPDF_EXPORTS)
31 #define VANILLAPDF_API __declspec(dllexport)
33 #define VANILLAPDF_API __declspec(dllimport)
36 #define VANILLAPDF_API