We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3ba8f2 commit 5e5bb97Copy full SHA for 5e5bb97
src/buildblock/getopt.c
@@ -193,20 +193,7 @@ static enum
193
/* Value of POSIXLY_CORRECT environment variable. */
194
static char *posixly_correct;
195
196
-#ifdef __GNU_LIBRARY__
197
-/* We want to avoid inclusion of string.h with non-GNU libraries
198
- because there are many ways it can cause trouble.
199
- On some systems, it contains special magic macros that don't work
200
- in GCC. */
201
-# include <string.h>
202
-# define my_index strchr
203
-#else
204
-
205
-# if HAVE_STRING_H || WIN32 /* Pete Wilson mod 7/28/02 */
206
207
-# else
208
-# include <strings.h>
209
-# endif
+#include <string.h>
210
211
/* Avoid depending on library functions or files
212
whose names are inconsistent. */
0 commit comments