mcpp_lib.h | mcpp_lib.h | |||
---|---|---|---|---|
/* mcpp_lib.h: declarations of libmcpp exported (visible) functions */ | /* mcpp_lib.h: declarations of libmcpp exported (visible) functions */ | |||
#ifndef _MCPP_LIB_H | #ifndef _MCPP_LIB_H | |||
#define _MCPP_LIB_H | #define _MCPP_LIB_H | |||
#ifndef _MCPP_OUT_H | #ifndef _MCPP_OUT_H | |||
#include "mcpp_out.h" /* declaration of OUTDEST */ | #include "mcpp_out.h" /* declaration of OUTDEST */ | |||
#endif | #endif | |||
#if _WIN32 || __CYGWIN__ || __MINGW32__ | #if _WIN32 || _WIN64 || __CYGWIN__ || __CYGWIN64__ || __MINGW32__ \ | |||
|| __MINGW64__ | ||||
#if DLL_EXPORT || (__CYGWIN__ && PIC) | #if DLL_EXPORT || (__CYGWIN__ && PIC) | |||
#define DLL_DECL __declspec( dllexport) | #define DLL_DECL __declspec( dllexport) | |||
#elif DLL_IMPORT | #elif DLL_IMPORT | |||
#define DLL_DECL __declspec( dllimport) | #define DLL_DECL __declspec( dllimport) | |||
#else | #else | |||
#define DLL_DECL | #define DLL_DECL | |||
#endif | #endif | |||
#else | #else | |||
#define DLL_DECL | #define DLL_DECL | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||