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
ff96bd6a
Commit
ff96bd6a
authored
Oct 15, 2007
by
Bang Jun-young
Committed by
Alexandre Julliard
Oct 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Add check for presence of _strdup() and strdup().
parent
119e4d49
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
0 deletions
+16
-0
configure
configure
+4
-0
configure.ac
configure.ac
+2
-0
config.h.in
include/config.h.in
+6
-0
port.h
include/wine/port.h
+4
-0
No files found.
configure
View file @
ff96bd6a
...
...
@@ -15703,11 +15703,14 @@ esac
for
ac_func
in
\
_pclose
\
_popen
\
_snprintf
\
_spawnvp
\
_strdup
\
_stricmp
\
_strnicmp
\
_vsnprintf
\
...
...
@@ -15756,6 +15759,7 @@ for ac_func in \
statfs
\
statvfs
\
strcasecmp
\
strdup
\
strerror
\
strncasecmp
\
strtold
\
...
...
configure.ac
View file @
ff96bd6a
...
...
@@ -1227,6 +1227,7 @@ AC_CHECK_FUNCS(\
_popen \
_snprintf \
_spawnvp \
_strdup \
_stricmp \
_strnicmp \
_vsnprintf \
...
...
@@ -1275,6 +1276,7 @@ AC_CHECK_FUNCS(\
statfs \
statvfs \
strcasecmp \
strdup \
strerror \
strncasecmp \
strtold \
...
...
include/config.h.in
View file @
ff96bd6a
...
...
@@ -633,6 +633,9 @@
/* Define to 1 if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define to 1 if you have the `strdup' function. */
#undef HAVE_STRDUP
/* Define to 1 if you have the `strerror' function. */
#undef HAVE_STRERROR
...
...
@@ -945,6 +948,9 @@
/* Define to 1 if you have the `_spawnvp' function. */
#undef HAVE__SPAWNVP
/* Define to 1 if you have the `_strdup' function. */
#undef HAVE__STRDUP
/* Define to 1 if you have the `_stricmp' function. */
#undef HAVE__STRICMP
...
...
include/wine/port.h
View file @
ff96bd6a
...
...
@@ -126,6 +126,10 @@ struct statvfs
#define pclose _pclose
#endif
#if !defined(HAVE_STRDUP) && defined(HAVE__STRDUP)
#define strdup _strdup
#endif
#if !defined(HAVE_SNPRINTF) && defined(HAVE__SNPRINTF)
#define snprintf _snprintf
#endif
...
...
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