[libxslt] Stop redefining snprintf on MinGW



commit b93a4d03a204dcb55a7b6341cef6f03e3eee291d
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Wed Jan 30 14:36:26 2019 +0100

    Stop redefining snprintf on MinGW
    
    Seems to fix compilation on MinGW-w64.  A similar change was made to
    libxml2 in 2012.

 configure.ac | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 37b18c3f..10101803 100644
--- a/configure.ac
+++ b/configure.ac
@@ -589,8 +589,6 @@ case "$host" in
  WIN32_EXTRA_LIBADD="-lwsock32"
  WIN32_EXTRA_LDFLAGS="-no-undefined"
  AC_DEFINE([_WINSOCKAPI_],1,[Using the Win32 Socket implementation])
- AC_DEFINE([snprintf],[_snprintf],[Win32 Std C name mangling work-around])
- AC_DEFINE([vsnprintf],[_vsnprintf],[Win32 Std C name mangling work-around])
  ;;
 esac
 AC_SUBST(WIN32_EXTRA_LIBADD)


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