1 2 3 4 5 6
#ifdef BUILDING_LIBASPRINTF #define LIBASPRINTF_DLL_EXPORTED __declspec(dllexport) #else #define LIBASPRINTF_DLL_EXPORTED __declspec(dllimport) #endif