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
8d7b8e57
Commit
8d7b8e57
authored
Mar 23, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fixes.
parent
8d361bd4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
1 deletion
+15
-1
configure
configure
+2
-0
configure.ac
configure.ac
+1
-0
config.h.in
include/config.h.in
+3
-0
mkstemps.c
libs/port/mkstemps.c
+6
-0
usleep.c
libs/port/usleep.c
+2
-0
Makefile.in
libs/unicode/Makefile.in
+1
-1
No files found.
configure
View file @
8d7b8e57
...
...
@@ -13196,6 +13196,7 @@ fi
for
ac_func
in
\
_lwp_create
\
_pclose
\
...
...
@@ -13218,6 +13219,7 @@ for ac_func in \
getprotobynumber
\
getpwuid
\
getservbyport
\
gettimeofday
\
inet_network
\
lseek64
\
lstat
\
...
...
configure.ac
View file @
8d7b8e57
...
...
@@ -950,6 +950,7 @@ AC_CHECK_FUNCS(\
getprotobynumber \
getpwuid \
getservbyport \
gettimeofday \
inet_network \
lseek64 \
lstat \
...
...
include/config.h.in
View file @
8d7b8e57
...
...
@@ -149,6 +149,9 @@
/* Define to 1 if you have the `getservbyport' function. */
#undef HAVE_GETSERVBYPORT
/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
/* Define to 1 if you have the <gif_lib.h> header file. */
#undef HAVE_GIF_LIB_H
...
...
libs/port/mkstemps.c
View file @
8d7b8e57
...
...
@@ -71,7 +71,9 @@ mkstemps (template, suffix_len)
static
const
char
letters
[]
=
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
;
static
gcc_uint64_t
value
;
#ifdef HAVE_GETTIMEOFDAY
struct
timeval
tv
;
#endif
char
*
XXXXXX
;
size_t
len
;
int
count
;
...
...
@@ -86,9 +88,13 @@ mkstemps (template, suffix_len)
XXXXXX
=
&
template
[
len
-
6
-
suffix_len
];
#ifdef HAVE_GETTIMEOFDAY
/* Get some more or less random data. */
gettimeofday
(
&
tv
,
NULL
);
value
+=
((
gcc_uint64_t
)
tv
.
tv_usec
<<
16
)
^
tv
.
tv_sec
^
getpid
();
#else
value
+=
getpid
();
#endif
for
(
count
=
0
;
count
<
TMP_MAX
;
++
count
)
{
...
...
libs/port/usleep.c
View file @
8d7b8e57
...
...
@@ -21,6 +21,8 @@
#include "config.h"
#include "wine/port.h"
#include <errno.h>
#ifndef HAVE_USLEEP
int
usleep
(
unsigned
int
useconds
)
{
...
...
libs/unicode/Makefile.in
View file @
8d7b8e57
...
...
@@ -81,7 +81,7 @@ C_SRCS = \
wctype.c
\
$
(
CODEPAGES:%
=
c_%.c
)
all
:
$(MODULE)
all
:
$(MODULE)
$(MODULE:.dll=.a)
@MAKE_RULES@
...
...
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