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