[libxml2] Stop defining _REENTRANT on some Win32 platforms



commit 9a82ae30db28696d414f50b69e5e84aa5a70b9b3
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Thu Feb 28 12:18:37 2019 +0100

    Stop defining _REENTRANT on some Win32 platforms
    
    The _REENTRANT macro was defined unconditionally on some Win32 builds
    using the Microsoft C runtime. It shouldn't have an effect under MSVCRT
    and was presumably only defined because of the LIBXML_THREAD_ENABLED
    issue fixed with the previous commit.

 include/libxml/xmlexports.h | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/include/libxml/xmlexports.h b/include/libxml/xmlexports.h
index 31ab8a10..f03af0d0 100644
--- a/include/libxml/xmlexports.h
+++ b/include/libxml/xmlexports.h
@@ -73,9 +73,6 @@
     #define XMLCALL __cdecl
   #endif
   #define XMLCDECL __cdecl
-  #if !defined _REENTRANT
-    #define _REENTRANT
-  #endif
 #endif
 
 /* Windows platform with Borland compiler */
@@ -97,9 +94,6 @@
   #endif
   #define XMLCALL __cdecl
   #define XMLCDECL __cdecl
-  #if !defined _REENTRANT
-    #define _REENTRANT
-  #endif
 #endif
 
 /* Windows platform with GNU compiler (Mingw) */
@@ -126,9 +120,6 @@
   #endif
   #define XMLCALL __cdecl
   #define XMLCDECL __cdecl
-  #if !defined _REENTRANT
-    #define _REENTRANT
-  #endif
 #endif
 
 /* Cygwin platform (does not define _WIN32), GNU compiler */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]