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
57bf4506
Commit
57bf4506
authored
Aug 26, 2002
by
Patrik Stridvall
Committed by
Alexandre Julliard
Aug 26, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSVC compatibility fixes.
parent
dd1484a2
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
76 additions
and
17 deletions
+76
-17
configure
configure
+6
-0
configure.ac
configure.ac
+3
-0
comm.c
dlls/kernel/comm.c
+3
-2
time.c
dlls/kernel/time.c
+3
-2
time.c
dlls/msvcrt/time.c
+5
-1
cdrom.c
dlls/ntdll/cdrom.c
+4
-0
debugtools.c
dlls/ntdll/debugtools.c
+3
-0
error.c
dlls/ntdll/error.c
+1
-1
om.c
dlls/ntdll/om.c
+3
-0
sec.c
dlls/ntdll/sec.c
+7
-2
file.c
files/file.c
+6
-2
smb.c
files/smb.c
+6
-2
snoop.c
if1632/snoop.c
+3
-0
config.h.in
include/config.h.in
+9
-0
main.c
misc/main.c
+1
-0
version.c
misc/version.c
+5
-2
int1a.c
msdos/int1a.c
+1
-0
int21.c
msdos/int21.c
+3
-2
synchro.c
scheduler/synchro.c
+3
-1
time.c
win32/time.c
+1
-0
No files found.
configure
View file @
57bf4506
...
...
@@ -11913,6 +11913,9 @@ done
for
ac_header
in
\
arpa/inet.h
\
arpa/nameser.h
\
...
...
@@ -11958,6 +11961,7 @@ for ac_header in \
sys/mount.h
\
sys/msg.h
\
sys/param.h
\
sys/poll.h
\
sys/ptrace.h
\
sys/reg.h
\
sys/shm.h
\
...
...
@@ -11969,6 +11973,7 @@ for ac_header in \
sys/syscall.h
\
sys/sysctl.h
\
sys/time.h
\
sys/times.h
\
sys/user.h
\
sys/v86.h
\
sys/v86intr.h
\
...
...
@@ -11979,6 +11984,7 @@ for ac_header in \
termios.h
\
ucontext.h
\
unistd.h
\
utime.h
\
do
as_ac_Header
=
`
echo
"ac_cv_header_
$ac_header
"
|
$as_tr_sh
`
...
...
configure.ac
View file @
57bf4506
...
...
@@ -989,6 +989,7 @@ AC_CHECK_HEADERS(\
sys/mount.h \
sys/msg.h \
sys/param.h \
sys/poll.h \
sys/ptrace.h \
sys/reg.h \
sys/shm.h \
...
...
@@ -1000,6 +1001,7 @@ AC_CHECK_HEADERS(\
sys/syscall.h \
sys/sysctl.h \
sys/time.h \
sys/times.h \
sys/user.h \
sys/v86.h \
sys/v86intr.h \
...
...
@@ -1010,6 +1012,7 @@ AC_CHECK_HEADERS(\
termios.h \
ucontext.h \
unistd.h \
utime.h \
)
AC_HEADER_STAT()
...
...
dlls/kernel/comm.c
View file @
57bf4506
...
...
@@ -74,7 +74,9 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/poll.h>
#ifdef HAVE_SYS_POOL_H
# include <sys/poll.h>
#endif
#ifdef HAVE_SYS_MODEM_H
# include <sys/modem.h>
#endif
...
...
@@ -2095,4 +2097,3 @@ BOOL WINAPI GetDefaultCommConfigW(
}
return
ret
;
}
dlls/kernel/time.c
View file @
57bf4506
...
...
@@ -28,7 +28,9 @@
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <sys/times.h>
#ifdef HAVE_SYS_TIMES_H
# include <sys/times.h>
#endif
#include "file.h"
#include "ntddk.h"
#include "winerror.h"
...
...
@@ -766,4 +768,3 @@ int WINAPI SetCalendarInfoW(LCID Locale, CALID Calendar, CALTYPE CalType, LPCWST
Locale
,
Calendar
,
CalType
,
debugstr_w
(
lpCalData
));
return
0
;
}
dlls/msvcrt/time.c
View file @
57bf4506
...
...
@@ -21,8 +21,12 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include <time.h>
#include <sys/times.h>
#ifdef HAVE_SYS_TIMES_H
# include <sys/times.h>
#endif
#include "msvcrt.h"
#include "msvcrt/sys/timeb.h"
...
...
dlls/ntdll/cdrom.c
View file @
57bf4506
...
...
@@ -21,10 +21,14 @@
*/
#include "config.h"
#include "wine/port.h"
#include <errno.h>
#include <string.h>
#include <stdio.h>
#ifdef HAVE_IO_H
# include <io.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
dlls/ntdll/debugtools.c
View file @
57bf4506
...
...
@@ -21,6 +21,9 @@
#include "config.h"
#include "wine/port.h"
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
...
...
dlls/ntdll/error.c
View file @
57bf4506
...
...
@@ -32,7 +32,7 @@ struct error_table
const
WORD
*
table
;
};
static
const
struct
error_table
error_table
[];
static
const
struct
error_table
error_table
[
12
];
/**************************************************************************
* RtlNtStatusToDosError (NTDLL.@)
...
...
dlls/ntdll/om.c
View file @
57bf4506
...
...
@@ -22,6 +22,9 @@
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_IO_H
# include <io.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
dlls/ntdll/sec.c
View file @
57bf4506
...
...
@@ -745,8 +745,13 @@ NTSTATUS WINAPI RtlConvertSidToUnicodeString(
NTSTATUS
status
;
ANSI_STRING
AnsiStr
;
struct
passwd
*
pwd
=
getpwuid
(
getuid
()
);
p
=
(
pwd
)
?
pwd
->
pw_name
:
".Default"
;
#ifdef HAVE_GETPWUID
struct
passwd
*
pwd
=
getpwuid
(
getuid
()
);
p
=
pwd
?
pwd
->
pw_name
:
NULL
;
#else
p
=
getenv
(
"USER"
);
#endif
p
=
p
?
p
:
".Default"
;
FIXME
(
"(%p %p %u)
\n
"
,
String
,
Sid
,
AllocateString
);
...
...
files/file.c
View file @
57bf4506
...
...
@@ -44,12 +44,16 @@
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <sys/poll.h>
#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif
#include <time.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <utime.h>
#ifdef HAVE_UTIME_H
# include <utime.h>
#endif
#include "winerror.h"
#include "windef.h"
...
...
files/smb.c
View file @
57bf4506
...
...
@@ -74,12 +74,16 @@
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <sys/poll.h>
#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif
#include <time.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <utime.h>
#ifdef HAVE_UTIME_H
# include <utime.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
...
...
if1632/snoop.c
View file @
57bf4506
...
...
@@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <string.h>
#include <stdio.h>
...
...
include/config.h.in
View file @
57bf4506
...
...
@@ -497,6 +497,9 @@
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define to 1 if you have the <sys/poll.h> header file. */
#undef HAVE_SYS_POLL_H
/* Define to 1 if you have the <sys/ptrace.h> header file. */
#undef HAVE_SYS_PTRACE_H
...
...
@@ -533,6 +536,9 @@
/* Define to 1 if you have the <sys/sysctl.h> header file. */
#undef HAVE_SYS_SYSCTL_H
/* Define to 1 if you have the <sys/times.h> header file. */
#undef HAVE_SYS_TIMES_H
/* Define to 1 if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
...
...
@@ -575,6 +581,9 @@
/* Define to 1 if you have the `usleep' function. */
#undef HAVE_USLEEP
/* Define to 1 if you have the <utime.h> header file. */
#undef HAVE_UTIME_H
/* Define if we have va_copy */
#undef HAVE_VA_COPY
...
...
misc/main.c
View file @
57bf4506
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <locale.h>
#include <ctype.h>
...
...
misc/version.c
View file @
57bf4506
...
...
@@ -21,6 +21,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
...
...
@@ -401,7 +404,7 @@ static DWORD VERSION_GetSystemDLLVersion( HMODULE hmod )
* 5.12/5.00/5.00/4.00 Win98 calc
* x.xx/5.00/5.00/4.00 win95/win98/NT4 IE5 files
*/
DWORD
VERSION_GetLinkedDllVersion
(
void
)
static
DWORD
VERSION_GetLinkedDllVersion
(
void
)
{
WINE_MODREF
*
wm
;
DWORD
WinVersion
=
NB_WINDOWS_VERSIONS
;
...
...
@@ -1004,7 +1007,7 @@ void WINAPI DebugFillBuffer(LPSTR lpBuffer, WORD wBytes)
*
* returns TRUE if Win called with "/b" (bootlog.txt)
*/
BOOL16
WINAPI
DiagQuery16
()
BOOL16
WINAPI
DiagQuery16
(
void
)
{
/* perhaps implement a Wine "/b" command line flag sometime ? */
return
FALSE
;
...
...
msdos/int1a.c
View file @
57bf4506
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <time.h>
#ifdef HAVE_SYS_TIME_H
...
...
msdos/int21.c
View file @
57bf4506
...
...
@@ -40,7 +40,9 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <utime.h>
#ifdef HAVE_UTIME_H
# include <utime.h>
#endif
#include <ctype.h>
#include "windef.h"
#include "winbase.h"
...
...
@@ -2389,4 +2391,3 @@ FARPROC16 WINAPI GetSetKernelDOSProc16(FARPROC16 DosProc)
FIXME
(
"(DosProc=0x%08x): stub
\n
"
,
(
UINT
)
DosProc
);
return
NULL
;
}
scheduler/synchro.c
View file @
57bf4506
...
...
@@ -26,7 +26,9 @@
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <sys/poll.h>
#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
win32/time.c
View file @
57bf4506
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#include <time.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