File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 85
85
#define _NETBSD_SOURCE 1
86
86
#define _SGI_SOURCE 1
87
87
88
+ #ifdef __MINGW32__
89
+ #ifdef __NO_INLINE__
90
+ #define __NO_INLINE_ALREADY_DEFINED
91
+ #else
92
+ #define __NO_INLINE__ /* do not inline strcasecmp() */
93
+ #endif
94
+ #endif
95
+ #include <string.h>
96
+ #ifdef __MINGW32__
97
+ #ifdef __NO_INLINE_ALREADY_DEFINED
98
+ #undef __NO_INLINE_ALREADY_DEFINED
99
+ #else
100
+ #undef __NO_INLINE__
101
+ #endif
102
+ #endif
103
+ #ifdef HAVE_STRINGS_H
104
+ #include <strings.h> /* for strcasecmp() */
105
+ #endif
106
+
88
107
#ifdef WIN32 /* Both MinGW and MSVC */
89
108
#define _WIN32_WINNT 0x0502
90
109
#define WIN32_LEAN_AND_MEAN /* stops windows.h including winsock.h */
99
118
#include <stddef.h>
100
119
#include <stdlib.h>
101
120
#include <stdarg.h>
102
- #include <string.h>
103
- #ifdef HAVE_STRINGS_H
104
- #include <strings.h> /* for strcasecmp() */
105
- #endif
106
121
#include <errno.h>
107
122
#include <limits.h>
108
123
#ifdef NEEDS_SYS_PARAM_H
You can’t perform that action at this time.
0 commit comments