Eneboo - Documentación para desarrolladores
|
00001 /* 00002 * exsltexports.h : macros for marking symbols as exportable/importable. 00003 * 00004 * See Copyright for the status of this software. 00005 * 00006 * igor@zlatkovic.com 00007 */ 00008 00009 #ifndef __EXSLT_EXPORTS_H__ 00010 #define __EXSLT_EXPORTS_H__ 00011 00029 #define EXSLTPUBFUN 00030 00035 #define EXSLTPUBVAR extern 00036 00041 #define EXSLTCALL 00042 00045 /* Windows platform with MS compiler */ 00046 #if defined(_WIN32) && defined(_MSC_VER) 00047 #undef EXSLTPUBFUN 00048 #undef EXSLTPUBVAR 00049 #undef EXSLTCALL 00050 #if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC) 00051 #define EXSLTPUBFUN __declspec(dllexport) 00052 #define EXSLTPUBVAR __declspec(dllexport) 00053 #else 00054 #define EXSLTPUBFUN 00055 #if !defined(LIBEXSLT_STATIC) 00056 #define EXSLTPUBVAR __declspec(dllimport) extern 00057 #else 00058 #define EXSLTPUBVAR extern 00059 #endif 00060 #endif 00061 #define EXSLTCALL __cdecl 00062 #if !defined _REENTRANT 00063 #define _REENTRANT 00064 #endif 00065 #endif 00066 00067 /* Windows platform with Borland compiler */ 00068 #if defined(_WIN32) && defined(__BORLANDC__) 00069 #undef EXSLTPUBFUN 00070 #undef EXSLTPUBVAR 00071 #undef EXSLTCALL 00072 #if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC) 00073 #define EXSLTPUBFUN __declspec(dllexport) 00074 #define EXSLTPUBVAR __declspec(dllexport) extern 00075 #else 00076 #define EXSLTPUBFUN 00077 #if !defined(LIBEXSLT_STATIC) 00078 #define EXSLTPUBVAR __declspec(dllimport) extern 00079 #else 00080 #define EXSLTPUBVAR extern 00081 #endif 00082 #endif 00083 #define EXSLTCALL __cdecl 00084 #if !defined _REENTRANT 00085 #define _REENTRANT 00086 #endif 00087 #endif 00088 00089 /* Windows platform with GNU compiler (Mingw) */ 00090 #if defined(_WIN32) && defined(__MINGW32__) 00091 #undef EXSLTPUBFUN 00092 #undef EXSLTPUBVAR 00093 #undef EXSLTCALL 00094 /* 00095 #if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC) 00096 */ 00097 #if !defined(LIBEXSLT_STATIC) 00098 #define EXSLTPUBFUN __declspec(dllexport) 00099 #define EXSLTPUBVAR __declspec(dllexport) extern 00100 #else 00101 #define EXSLTPUBFUN 00102 #if !defined(LIBEXSLT_STATIC) 00103 #define EXSLTPUBVAR __declspec(dllimport) extern 00104 #else 00105 #define EXSLTPUBVAR extern 00106 #endif 00107 #endif 00108 #define EXSLTCALL __cdecl 00109 #if !defined _REENTRANT 00110 #define _REENTRANT 00111 #endif 00112 #endif 00113 00114 /* Cygwin platform, GNU compiler */ 00115 #if defined(_WIN32) && defined(__CYGWIN__) 00116 #undef EXSLTPUBFUN 00117 #undef EXSLTPUBVAR 00118 #undef EXSLTCALL 00119 #if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC) 00120 #define EXSLTPUBFUN __declspec(dllexport) 00121 #define EXSLTPUBVAR __declspec(dllexport) 00122 #else 00123 #define EXSLTPUBFUN 00124 #if !defined(LIBEXSLT_STATIC) 00125 #define EXSLTPUBVAR __declspec(dllimport) extern 00126 #else 00127 #define EXSLTPUBVAR 00128 #endif 00129 #endif 00130 #define EXSLTCALL __cdecl 00131 #endif 00132 00133 /* Compatibility */ 00134 #if !defined(LIBEXSLT_PUBLIC) 00135 #define LIBEXSLT_PUBLIC EXSLTPUBVAR 00136 #endif 00137 00138 #endif /* __EXSLT_EXPORTS_H__ */ 00139 00140