-/*\r
- * Summary: macros for marking symbols as exportable/importable.\r
- * Description: macros for marking symbols as exportable/importable.\r
- *\r
- * Copy: See Copyright for the status of this software.\r
- *\r
- * Author: Igor Zlatovic <igor@zlatkovic.com>\r
- */\r
-\r
-#ifndef __XML_EXPORTS_H__\r
-#define __XML_EXPORTS_H__\r
-\r
-/**\r
- * XMLPUBFUN, XMLPUBVAR, XMLCALL\r
- *\r
- * Macros which declare an exportable function, an exportable variable and\r
- * the calling convention used for functions.\r
- *\r
- * Please use an extra block for every platform/compiler combination when\r
- * modifying this, rather than overlong #ifdef lines. This helps\r
- * readability as well as the fact that different compilers on the same\r
- * platform might need different definitions.\r
- */\r
-\r
-/**\r
- * XMLPUBFUN:\r
- *\r
- * Macros which declare an exportable function\r
- */\r
-#define XMLPUBFUN\r
-/**\r
- * XMLPUBVAR:\r
- *\r
- * Macros which declare an exportable variable\r
- */\r
-#define XMLPUBVAR extern\r
-/**\r
- * XMLCALL:\r
- *\r
- * Macros which declare the called convention for exported functions\r
- */\r
-#define XMLCALL\r
-\r
-/** DOC_DISABLE */\r
-\r
-/* Windows platform with MS compiler */\r
-#if defined(_WIN32) && defined(_MSC_VER)\r
- #undef XMLPUBFUN\r
- #undef XMLPUBVAR\r
- #undef XMLCALL\r
- #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)\r
- #define XMLPUBFUN __declspec(dllexport)\r
- #define XMLPUBVAR __declspec(dllexport)\r
- #else\r
- #define XMLPUBFUN\r
- #if !defined(LIBXML_STATIC)\r
- #define XMLPUBVAR __declspec(dllimport) extern\r
- #else\r
- #define XMLPUBVAR extern\r
- #endif\r
- #endif\r
- #define XMLCALL __cdecl\r
- #if !defined _REENTRANT\r
- #define _REENTRANT\r
- #endif\r
-#endif\r
-\r
-/* Windows platform with Borland compiler */\r
-#if defined(_WIN32) && defined(__BORLANDC__)\r
- #undef XMLPUBFUN\r
- #undef XMLPUBVAR\r
- #undef XMLCALL\r
- #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)\r
- #define XMLPUBFUN __declspec(dllexport)\r
- #define XMLPUBVAR __declspec(dllexport) extern\r
- #else\r
- #define XMLPUBFUN\r
- #if !defined(LIBXML_STATIC)\r
- #define XMLPUBVAR __declspec(dllimport) extern\r
- #else\r
- #define XMLPUBVAR extern\r
- #endif\r
- #endif\r
- #define XMLCALL __cdecl\r
- #if !defined _REENTRANT\r
- #define _REENTRANT\r
- #endif\r
-#endif\r
-\r
-/* Windows platform with GNU compiler (Mingw) */\r
-#if defined(_WIN32) && defined(__MINGW32__)\r
- #undef XMLPUBFUN\r
- #undef XMLPUBVAR\r
- #undef XMLCALL\r
- #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)\r
- #define XMLPUBFUN __declspec(dllexport)\r
- #define XMLPUBVAR __declspec(dllexport)\r
- #else\r
- #define XMLPUBFUN\r
- #if !defined(LIBXML_STATIC)\r
- #define XMLPUBVAR __declspec(dllimport) extern\r
- #else\r
- #define XMLPUBVAR extern\r
- #endif\r
- #endif\r
- #define XMLCALL __cdecl\r
- #if !defined _REENTRANT\r
- #define _REENTRANT\r
- #endif\r
-#endif\r
-\r
-/* Cygwin platform, GNU compiler */\r
-#if defined(_WIN32) && defined(__CYGWIN__)\r
- #undef XMLPUBFUN\r
- #undef XMLPUBVAR\r
- #undef XMLCALL\r
- #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)\r
- #define XMLPUBFUN __declspec(dllexport)\r
- #define XMLPUBVAR __declspec(dllexport)\r
- #else\r
- #define XMLPUBFUN\r
- #if !defined(LIBXML_STATIC)\r
- #define XMLPUBVAR __declspec(dllimport) extern\r
- #else\r
- #define XMLPUBVAR\r
- #endif\r
- #endif\r
- #define XMLCALL __cdecl\r
-#endif\r
-\r
-/* Compatibility */\r
-#if !defined(LIBXML_DLL_IMPORT)\r
-#define LIBXML_DLL_IMPORT XMLPUBVAR\r
-#endif\r
-\r
-#endif /* __XML_EXPORTS_H__ */\r
-\r
-\r
+/*
+ * Summary: macros for marking symbols as exportable/importable.
+ * Description: macros for marking symbols as exportable/importable.
+ *
+ * Copy: See Copyright for the status of this software.
+ *
+ * Author: Igor Zlatovic <igor@zlatkovic.com>
+ */
+
+#ifndef __XML_EXPORTS_H__
+#define __XML_EXPORTS_H__
+
+/**
+ * XMLPUBFUN, XMLPUBVAR, XMLCALL
+ *
+ * Macros which declare an exportable function, an exportable variable and
+ * the calling convention used for functions.
+ *
+ * Please use an extra block for every platform/compiler combination when
+ * modifying this, rather than overlong #ifdef lines. This helps
+ * readability as well as the fact that different compilers on the same
+ * platform might need different definitions.
+ */
+
+/**
+ * XMLPUBFUN:
+ *
+ * Macros which declare an exportable function
+ */
+#define XMLPUBFUN
+/**
+ * XMLPUBVAR:
+ *
+ * Macros which declare an exportable variable
+ */
+#define XMLPUBVAR extern
+/**
+ * XMLCALL:
+ *
+ * Macros which declare the called convention for exported functions
+ */
+#define XMLCALL
+
+/** DOC_DISABLE */
+
+/* Windows platform with MS compiler */
+#if defined(_WIN32) && defined(_MSC_VER)
+ #undef XMLPUBFUN
+ #undef XMLPUBVAR
+ #undef XMLCALL
+ #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
+ #define XMLPUBFUN __declspec(dllexport)
+ #define XMLPUBVAR __declspec(dllexport)
+ #else
+ #define XMLPUBFUN
+ #if !defined(LIBXML_STATIC)
+ #define XMLPUBVAR __declspec(dllimport) extern
+ #else
+ #define XMLPUBVAR extern
+ #endif
+ #endif
+ #define XMLCALL __cdecl
+ #if !defined _REENTRANT
+ #define _REENTRANT
+ #endif
+#endif
+
+/* Windows platform with Borland compiler */
+#if defined(_WIN32) && defined(__BORLANDC__)
+ #undef XMLPUBFUN
+ #undef XMLPUBVAR
+ #undef XMLCALL
+ #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
+ #define XMLPUBFUN __declspec(dllexport)
+ #define XMLPUBVAR __declspec(dllexport) extern
+ #else
+ #define XMLPUBFUN
+ #if !defined(LIBXML_STATIC)
+ #define XMLPUBVAR __declspec(dllimport) extern
+ #else
+ #define XMLPUBVAR extern
+ #endif
+ #endif
+ #define XMLCALL __cdecl
+ #if !defined _REENTRANT
+ #define _REENTRANT
+ #endif
+#endif
+
+/* Windows platform with GNU compiler (Mingw) */
+#if defined(_WIN32) && defined(__MINGW32__)
+ #undef XMLPUBFUN
+ #undef XMLPUBVAR
+ #undef XMLCALL
+ #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
+ #define XMLPUBFUN __declspec(dllexport)
+ #define XMLPUBVAR __declspec(dllexport)
+ #else
+ #define XMLPUBFUN
+ #if !defined(LIBXML_STATIC)
+ #define XMLPUBVAR __declspec(dllimport) extern
+ #else
+ #define XMLPUBVAR extern
+ #endif
+ #endif
+ #define XMLCALL __cdecl
+ #if !defined _REENTRANT
+ #define _REENTRANT
+ #endif
+#endif
+
+/* Cygwin platform, GNU compiler */
+#if defined(_WIN32) && defined(__CYGWIN__)
+ #undef XMLPUBFUN
+ #undef XMLPUBVAR
+ #undef XMLCALL
+ #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
+ #define XMLPUBFUN __declspec(dllexport)
+ #define XMLPUBVAR __declspec(dllexport)
+ #else
+ #define XMLPUBFUN
+ #if !defined(LIBXML_STATIC)
+ #define XMLPUBVAR __declspec(dllimport) extern
+ #else
+ #define XMLPUBVAR
+ #endif
+ #endif
+ #define XMLCALL __cdecl
+#endif
+
+/* Compatibility */
+#if !defined(LIBXML_DLL_IMPORT)
+#define LIBXML_DLL_IMPORT XMLPUBVAR
+#endif
+
+#endif /* __XML_EXPORTS_H__ */
+
+