Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
af59e6f1
Commit
af59e6f1
authored
Jan 09, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Get rid of the check for strings.h.
parent
61768c07
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
23 deletions
+2
-23
configure
configure
+0
-1
configure.ac
configure.ac
+0
-1
serial.c
dlls/ntdll/serial.c
+0
-3
getopt.c
libs/port/getopt.c
+2
-18
No files found.
configure
View file @
af59e6f1
...
...
@@ -5896,7 +5896,6 @@ for ac_header in \
scsi/sg.h
\
stdbool.h
\
stdint.h
\
strings.h
\
stropts.h
\
sys/asoundlib.h
\
sys/attr.h
\
...
...
configure.ac
View file @
af59e6f1
...
...
@@ -483,7 +483,6 @@ AC_CHECK_HEADERS(\
scsi/sg.h \
stdbool.h \
stdint.h \
strings.h \
stropts.h \
sys/asoundlib.h \
sys/attr.h \
...
...
dlls/ntdll/serial.c
View file @
af59e6f1
...
...
@@ -27,9 +27,6 @@
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
...
...
libs/port/getopt.c
View file @
af59e6f1
...
...
@@ -203,22 +203,8 @@ static enum
/* Value of POSIXLY_CORRECT environment variable. */
static
char
*
posixly_correct
;
#ifdef __GNU_LIBRARY__
/* We want to avoid inclusion of string.h with non-GNU libraries
because there are many ways it can cause trouble.
On some systems, it contains special magic macros that don't work
in GCC. */
# include <string.h>
# define my_index strchr
#else
# ifdef HAVE_STRING_H
# include <string.h>
# else
# include <strings.h>
# endif
# define my_index strchr
#include <string.h>
#define my_index strchr
/* If using GCC, we can safely declare strlen this way.
If not using GCC, it is ok not to declare it. */
...
...
@@ -232,8 +218,6 @@ extern int strlen (const char *);
# endif
/* not __STDC__ */
#endif
/* __GNUC__ */
#endif
/* not __GNU_LIBRARY__ */
/* Handle permutation of arguments. */
/* Describe the part of ARGV that contains non-options that have
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment