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
e9f5bce3
Commit
e9f5bce3
authored
Mar 03, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Mar 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add configure check for strtoll and strtoull.
Define these to _strtoi64 and _strtoui64 if these are available instead.
parent
dfcd07eb
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
0 deletions
+32
-0
configure
configure
+8
-0
configure.ac
configure.ac
+4
-0
config.h.in
include/config.h.in
+12
-0
port.h
include/wine/port.h
+8
-0
No files found.
configure
View file @
e9f5bce3
...
@@ -16595,6 +16595,10 @@ esac
...
@@ -16595,6 +16595,10 @@ esac
for
ac_func
in
\
for
ac_func
in
\
_pclose
\
_pclose
\
_popen
\
_popen
\
...
@@ -16603,6 +16607,8 @@ for ac_func in \
...
@@ -16603,6 +16607,8 @@ for ac_func in \
_strdup
\
_strdup
\
_stricmp
\
_stricmp
\
_strnicmp
\
_strnicmp
\
_strtoi64
\
_strtoui64
\
_vsnprintf
\
_vsnprintf
\
asctime_r
\
asctime_r
\
chsize
\
chsize
\
...
@@ -16654,6 +16660,8 @@ for ac_func in \
...
@@ -16654,6 +16660,8 @@ for ac_func in \
strerror
\
strerror
\
strncasecmp
\
strncasecmp
\
strtold
\
strtold
\
strtoll
\
strtoull
\
tcgetattr
\
tcgetattr
\
thr_kill2
\
thr_kill2
\
timegm
\
timegm
\
...
...
configure.ac
View file @
e9f5bce3
...
@@ -1328,6 +1328,8 @@ AC_CHECK_FUNCS(\
...
@@ -1328,6 +1328,8 @@ AC_CHECK_FUNCS(\
_strdup \
_strdup \
_stricmp \
_stricmp \
_strnicmp \
_strnicmp \
_strtoi64 \
_strtoui64 \
_vsnprintf \
_vsnprintf \
asctime_r \
asctime_r \
chsize \
chsize \
...
@@ -1379,6 +1381,8 @@ AC_CHECK_FUNCS(\
...
@@ -1379,6 +1381,8 @@ AC_CHECK_FUNCS(\
strerror \
strerror \
strncasecmp \
strncasecmp \
strtold \
strtold \
strtoll \
strtoull \
tcgetattr \
tcgetattr \
thr_kill2 \
thr_kill2 \
timegm \
timegm \
...
...
include/config.h.in
View file @
e9f5bce3
...
@@ -666,6 +666,12 @@
...
@@ -666,6 +666,12 @@
/* Define to 1 if you have the `strtold' function. */
/* Define to 1 if you have the `strtold' function. */
#undef HAVE_STRTOLD
#undef HAVE_STRTOLD
/* Define to 1 if you have the `strtoll' function. */
#undef HAVE_STRTOLL
/* Define to 1 if you have the `strtoull' function. */
#undef HAVE_STRTOULL
/* Define to 1 if `direction' is member of `struct ff_effect'. */
/* Define to 1 if `direction' is member of `struct ff_effect'. */
#undef HAVE_STRUCT_FF_EFFECT_DIRECTION
#undef HAVE_STRUCT_FF_EFFECT_DIRECTION
...
@@ -972,6 +978,12 @@
...
@@ -972,6 +978,12 @@
/* Define to 1 if you have the `_strnicmp' function. */
/* Define to 1 if you have the `_strnicmp' function. */
#undef HAVE__STRNICMP
#undef HAVE__STRNICMP
/* Define to 1 if you have the `_strtoi64' function. */
#undef HAVE__STRTOI64
/* Define to 1 if you have the `_strtoui64' function. */
#undef HAVE__STRTOUI64
/* Define to 1 if you have the `_vsnprintf' function. */
/* Define to 1 if you have the `_vsnprintf' function. */
#undef HAVE__VSNPRINTF
#undef HAVE__VSNPRINTF
...
...
include/wine/port.h
View file @
e9f5bce3
...
@@ -138,6 +138,14 @@ struct statvfs
...
@@ -138,6 +138,14 @@ struct statvfs
#define vsnprintf _vsnprintf
#define vsnprintf _vsnprintf
#endif
#endif
#if !defined(HAVE_STRTOLL) && defined(HAVE__STRTOI64)
#define strtoll _strtoi64
#endif
#if !defined(HAVE_STRTOULL) && defined(HAVE__STRTOUI64)
#define strtoull _strtoui64
#endif
#ifndef S_ISLNK
#ifndef S_ISLNK
# define S_ISLNK(mod) (0)
# define S_ISLNK(mod) (0)
#endif
#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