Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0a8e15ab
Commit
0a8e15ab
authored
May 10, 2002
by
Steven Edwards
Committed by
Alexandre Julliard
May 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detect snprintf && _snprintf, use _snprintf on stupid platforms
(windows).
parent
8dc3a513
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
0 deletions
+17
-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
ppy.y
tools/wrc/ppy.y
+1
-0
No files found.
configure
View file @
0a8e15ab
...
...
@@ -10288,11 +10288,14 @@ fi
for
ac_func
in
\
__libc_fork
\
_lwp_create
\
_pclose
\
_popen
\
_snprintf
\
_stricmp
\
_strnicmp
\
chsize
\
...
...
@@ -10323,6 +10326,7 @@ for ac_func in \
sendmsg
\
settimeofday
\
sigaltstack
\
snprintf
\
statfs
\
strcasecmp
\
strerror
\
...
...
configure.ac
View file @
0a8e15ab
...
...
@@ -857,6 +857,7 @@ AC_CHECK_FUNCS(\
_lwp_create \
_pclose \
_popen \
_snprintf \
_stricmp \
_strnicmp \
chsize \
...
...
@@ -887,6 +888,7 @@ AC_CHECK_FUNCS(\
sendmsg \
settimeofday \
sigaltstack \
snprintf \
statfs \
strcasecmp \
strerror \
...
...
include/config.h.in
View file @
0a8e15ab
...
...
@@ -380,6 +380,9 @@
/* Define to 1 if the system has the type `size_t'. */
#undef HAVE_SIZE_T
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
/* Define if struct sockaddr contains sa_len */
#undef HAVE_SOCKADDR_SA_LEN
...
...
@@ -584,6 +587,9 @@
/* Define to 1 if you have the `_popen' function. */
#undef HAVE__POPEN
/* Define to 1 if you have the `_snprintf' function. */
#undef HAVE__SNPRINTF
/* Define to 1 if you have the `_stricmp' function. */
#undef HAVE__STRICMP
...
...
include/wine/port.h
View file @
0a8e15ab
...
...
@@ -116,6 +116,10 @@ struct statfs;
#define pclose _pclose
#endif
#if !defined(HAVE_SNPRINTF) && defined(HAVE__SNPRINTF)
#define snprintf _snprintf
#endif
#ifndef S_ISLNK
# define S_ISLNK(mod) (0)
#endif
/* S_ISLNK */
...
...
tools/wrc/ppy.y
View file @
0a8e15ab
...
...
@@ -29,6 +29,7 @@
%{
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
...
...
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