[libxslt] Remove cruft from win32config.h



commit 9c88a72e52dc3241c923cec8b6f4782fb9dcafcf
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Thu Mar 31 01:42:46 2022 +0200

    Remove cruft from win32config.h

 libxslt/win32config.h | 13 -------------
 1 file changed, 13 deletions(-)
---
diff --git a/libxslt/win32config.h b/libxslt/win32config.h
index e4c73a60..54b1822b 100644
--- a/libxslt/win32config.h
+++ b/libxslt/win32config.h
@@ -9,11 +9,6 @@
 #ifndef __LIBXSLT_WIN32_CONFIG__
 #define __LIBXSLT_WIN32_CONFIG__
 
-#define HAVE_FCNTL_H 1
-
-#include <io.h>
-#include <direct.h>
-
 /* snprintf emulation taken from http://stackoverflow.com/a/8712996/1956010 */
 #if defined(_MSC_VER) && _MSC_VER < 1900
 
@@ -52,13 +47,5 @@ __inline int c99_snprintf(char *outBuf, size_t size, const char *format, ...)
 #define HAVE_SYS_STAT_H
 #define HAVE__STAT
 
-#include <libxml/xmlversion.h>
-
-#ifndef ATTRIBUTE_UNUSED
-#define ATTRIBUTE_UNUSED
-#endif
-
-#define _WINSOCKAPI_
-
 #endif /* __LIBXSLT_WIN32_CONFIG__ */
 


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