Go to the documentation of this file. 9 #ifndef __ZEDA_COMPAT_H__ 10 #define __ZEDA_COMPAT_H__ 21 #if ( defined(__WINDOWS__) || defined(_WIN32) || defined(__WIN32__)) && !defined(__CYGWIN__) 22 # if defined(__BUILD_DLL__) 23 # define __EXPORT __declspec(dllexport) 25 # define __EXPORT __declspec(dllimport) 27 # define __FASTCALL __fastcall 28 #elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303 29 # define __EXPORT __attribute__((visibility("default"))) 30 # define __FASTCALL __attribute__((regparm(3))) 46 #define __DEF_WINDLL \ 47 extern HINSTANCE _hInstance;\ 48 int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void *reserved)\ 52 BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)\ 55 case DLL_PROCESS_ATTACH:\ 58 case DLL_PROCESS_DETACH:\