additional macros, mingw section
authorIgor Zlatkovic <igor@src.gnome.org>
Tue, 2 Sep 2003 14:08:34 +0000 (14:08 +0000)
committerIgor Zlatkovic <igor@src.gnome.org>
Tue, 2 Sep 2003 14:08:34 +0000 (14:08 +0000)
ChangeLog
libexslt/exsltexports.h
libxslt/xsltexports.h

index 45c639b..296508d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Sep  2 16:05:37 CEST 2003 Igor Zlatkovic <igor@zlatkovic.com>
+
+       * libxslt/xsltexports.h libexslt/exsltexports.h: defined additional 
+         macros which affect exports and added mingw section
+
 Mon Sep  1 23:02:12 CEST 2003 Daniel Veillard <daniel@veillard.com>
 
        * libxslt/function.c: patch from Mark Vadoc to allow compiling
index 980a59f..138de3b 100644 (file)
@@ -42,6 +42,9 @@
     #endif
   #endif
   #define EXSLTCALL __cdecl
+  #if !defined _REENTRANT
+    #define _REENTRANT
+  #endif
 #endif
 
 /* Windows platform with Borland compiler */
     #endif
   #endif
   #define EXSLTCALL __cdecl
+  #if !defined _REENTRANT
+    #define _REENTRANT
+  #endif
+#endif
+
+/* Windows platform with GNU compiler (Mingw) */
+#if defined(_WIN32) && defined(__MINGW__)
+  #if !defined _REENTRANT
+    #define _REENTRANT
+  #endif
 #endif
 
 /* Cygwin platform, GNU compiler */
index 9168ccf..d27ef62 100644 (file)
@@ -42,6 +42,9 @@
     #endif
   #endif
   #define XSLTCALL __cdecl
+  #if !defined _REENTRANT
+    #define _REENTRANT
+  #endif
 #endif
 
 /* Windows platform with Borland compiler */
     #endif
   #endif
   #define XSLTCALL __cdecl
+  #if !defined _REENTRANT
+    #define _REENTRANT
+  #endif
+#endif
+
+/* Windows platform with GNU compiler (Mingw) */
+#if defined(_WIN32) && defined(__MINGW__)
+  #if !defined _REENTRANT
+    #define _REENTRANT
+  #endif
 #endif
 
 /* Cygwin platform, GNU compiler */