mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:13:23 +00:00
[LIBXSLT] Improve sync with upstream. CORE-17766
Makefile.am: this hasn't been updated in a while security.c: WIN32 -> _WIN32 to keep the ROS-diff consistent with the rest win32config.h/libxslt.h: remove unnecessary ROS-diff xsltwin32config.h: this was missed in the 1.1.34 sync xsltexports.h: mark a ROS-diff as such
This commit is contained in:
parent
dee3e6e7cd
commit
e524b1bcf6
6 changed files with 74 additions and 85 deletions
11
dll/3rdparty/libxslt/win32config.h
vendored
11
dll/3rdparty/libxslt/win32config.h
vendored
|
@ -77,15 +77,7 @@ static int isnan (double d) {
|
|||
#endif /* _MSC_VER */
|
||||
|
||||
#include <direct.h>
|
||||
#ifdef __REACTOS__
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#define mkdir(p,m) _mkdir(p)
|
||||
#define snprintf _snprintf
|
||||
#if _MSC_VER < 1500
|
||||
#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
|
||||
#endif
|
||||
#endif
|
||||
#else /* __REACTOS__ */
|
||||
|
||||
/* snprintf emulation taken from http://stackoverflow.com/a/8712996/1956010 */
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
|
||||
|
@ -120,7 +112,6 @@ __inline int c99_snprintf(char *outBuf, size_t size, const char *format, ...)
|
|||
}
|
||||
|
||||
#endif /* defined(_MSC_VER) && _MSC_VER < 1900 */
|
||||
#endif /* __REACTOS__ */
|
||||
|
||||
#define HAVE_SYS_STAT_H
|
||||
#define HAVE__STAT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue