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
9aab47ed
Commit
9aab47ed
authored
Aug 28, 2002
by
Patrik Stridvall
Committed by
Alexandre Julliard
Aug 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSVC compatibility fixes.
parent
e765bc1a
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
85 additions
and
13 deletions
+85
-13
graphics.c
dlls/gdi/enhmfdrv/graphics.c
+3
-0
printdrv.c
dlls/gdi/printdrv.c
+4
-0
init.c
dlls/gdi/win16drv/init.c
+3
-0
comm.c
dlls/kernel/comm.c
+1
-1
kernel_main.c
dlls/kernel/kernel_main.c
+1
-0
locale.c
dlls/kernel/locale.c
+1
-1
sync.c
dlls/kernel/sync.c
+1
-0
thunk.c
dlls/kernel/thunk.c
+1
-0
wowthunk.c
dlls/kernel/wowthunk.c
+3
-0
lzexpand_main.c
dlls/lzexpand/lzexpand_main.c
+1
-0
sec.c
dlls/ntdll/sec.c
+1
-0
signal_powerpc.c
dlls/ntdll/signal_powerpc.c
+3
-1
dialogs.c
dlls/shell32/dialogs.c
+3
-0
pidl.c
dlls/shell32/pidl.c
+3
-0
shell.c
dlls/shell32/shell.c
+1
-0
shellpath.c
dlls/shell32/shellpath.c
+4
-0
ordinal.c
dlls/shlwapi/ordinal.c
+3
-0
path.c
dlls/shlwapi/path.c
+3
-0
string.c
dlls/shlwapi/string.c
+7
-4
painting.c
graphics/painting.c
+3
-0
path.c
graphics/path.c
+1
-0
builtin.c
if1632/builtin.c
+3
-0
relay.c
if1632/relay.c
+3
-0
file.h
include/file.h
+3
-1
rpcdcep.h
include/rpcdcep.h
+1
-1
config.c
library/config.c
+3
-2
loadorder.c
loader/loadorder.c
+1
-0
main.c
loader/main.c
+1
-1
module.c
loader/module.c
+1
-0
segment.c
loader/ne/segment.c
+1
-0
resource.c
loader/resource.c
+1
-0
registry.c
memory/registry.c
+1
-1
int11.c
msdos/int11.c
+1
-0
int21.c
msdos/int21.c
+1
-0
ioports.c
msdos/ioports.c
+1
-0
font.c
objects/font.c
+3
-0
builtin32.c
relay32/builtin32.c
+1
-0
handle.c
scheduler/handle.c
+3
-0
timer.c
scheduler/timer.c
+3
-0
except.c
win32/except.c
+2
-0
No files found.
dlls/gdi/enhmfdrv/graphics.c
View file @
9aab47ed
...
...
@@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <string.h>
...
...
dlls/gdi/printdrv.c
View file @
9aab47ed
...
...
@@ -22,12 +22,16 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#ifdef HAVE_IO_H
# include <io.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
dlls/gdi/win16drv/init.c
View file @
9aab47ed
...
...
@@ -19,6 +19,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
...
...
dlls/kernel/comm.c
View file @
9aab47ed
...
...
@@ -74,7 +74,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_PO
O
L_H
#ifdef HAVE_SYS_PO
L
L_H
# include <sys/poll.h>
#endif
#ifdef HAVE_SYS_MODEM_H
...
...
dlls/kernel/kernel_main.c
View file @
9aab47ed
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <ctype.h>
...
...
dlls/kernel/locale.c
View file @
9aab47ed
...
...
@@ -443,7 +443,7 @@ static INT get_registry_locale_info( LPCWSTR value, LPWSTR buffer, INT len )
NTSTATUS
status
;
UNICODE_STRING
nameW
;
KEY_VALUE_PARTIAL_INFORMATION
*
info
;
static
const
int
info_size
=
info
->
Data
-
(
UCHAR
*
)
info
;
static
const
int
info_size
=
FIELD_OFFSET
(
KEY_VALUE_PARTIAL_INFORMATION
,
Data
)
;
if
(
RegOpenKeyExA
(
HKEY_CURRENT_USER
,
"Control Panel
\\
International"
,
0
,
KEY_READ
,
&
hkey
))
return
-
1
;
...
...
dlls/kernel/sync.c
View file @
9aab47ed
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#ifdef HAVE_UNISTD_H
...
...
dlls/kernel/thunk.c
View file @
9aab47ed
...
...
@@ -24,6 +24,7 @@
#include <string.h>
#include <sys/types.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
dlls/kernel/wowthunk.c
View file @
9aab47ed
...
...
@@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include "wine/winbase16.h"
#include "winbase.h"
#include "winerror.h"
...
...
dlls/lzexpand/lzexpand_main.c
View file @
9aab47ed
...
...
@@ -26,6 +26,7 @@
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
dlls/ntdll/sec.c
View file @
9aab47ed
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <string.h>
...
...
dlls/ntdll/signal_powerpc.c
View file @
9aab47ed
...
...
@@ -27,7 +27,9 @@
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
...
...
dlls/shell32/dialogs.c
View file @
9aab47ed
...
...
@@ -18,6 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#include <stdio.h>
#include "winerror.h"
...
...
dlls/shell32/pidl.c
View file @
9aab47ed
...
...
@@ -22,6 +22,9 @@
*
*/
#include "config.h"
#include "wine/port.h"
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
...
...
dlls/shell32/shell.c
View file @
9aab47ed
...
...
@@ -20,6 +20,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <string.h>
...
...
dlls/shell32/shellpath.c
View file @
9aab47ed
...
...
@@ -22,6 +22,10 @@
* Many of these functions are in SHLWAPI.DLL also
*
*/
#include "config.h"
#include "wine/port.h"
#include <string.h>
#include <ctype.h>
#include "wine/debug.h"
...
...
dlls/shlwapi/ordinal.c
View file @
9aab47ed
...
...
@@ -20,6 +20,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <string.h>
...
...
dlls/shlwapi/path.c
View file @
9aab47ed
...
...
@@ -19,6 +19,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
...
...
dlls/shlwapi/string.c
View file @
9aab47ed
...
...
@@ -19,6 +19,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
...
...
@@ -106,7 +109,7 @@ static BOOL WINAPI SHLWAPI_ChrCmpA(WORD ch1, WORD ch2)
}
/*************************************************************************
* ChrCmpIA [SHLWAPI.
@
]
* ChrCmpIA [SHLWAPI.
385
]
*
* Compare two characters, ignoring case.
*
...
...
@@ -136,7 +139,7 @@ static BOOL WINAPI SHLWAPI_ChrCmpW(WCHAR ch1, WCHAR ch2)
}
/*************************************************************************
* ChrCmpIW [SHLWAPI.
@
]
* ChrCmpIW [SHLWAPI.
386
]
*
* See ChrCmpIA.
*/
...
...
@@ -940,7 +943,7 @@ LPWSTR WINAPI StrDupW(LPCWSTR lpszStr)
* Internal implementation of StrSpnA/StrCSpnA/StrCSpnIA
*/
static
int
WINAPI
SHLWAPI_StrSpnHelperA
(
LPCSTR
lpszStr
,
LPCSTR
lpszMatch
,
LPSTR
WINAPI
(
*
pStrChrFn
)(
LPCSTR
,
WORD
),
LPSTR
(
WINAPI
*
pStrChrFn
)(
LPCSTR
,
WORD
),
BOOL
bInvert
)
{
LPCSTR
lpszRead
=
lpszStr
;
...
...
@@ -966,7 +969,7 @@ static int WINAPI SHLWAPI_StrSpnHelperA(LPCSTR lpszStr, LPCSTR lpszMatch,
* Internal implementation of StrSpnW/StrCSpnW/StrCSpnIW
*/
static
int
WINAPI
SHLWAPI_StrSpnHelperW
(
LPCWSTR
lpszStr
,
LPCWSTR
lpszMatch
,
LPWSTR
WINAPI
(
*
pStrChrFn
)(
LPCWSTR
,
WCHAR
),
LPWSTR
(
WINAPI
*
pStrChrFn
)(
LPCWSTR
,
WCHAR
),
BOOL
bInvert
)
{
LPCWSTR
lpszRead
=
lpszStr
;
...
...
graphics/painting.c
View file @
9aab47ed
...
...
@@ -20,6 +20,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>
...
...
graphics/path.c
View file @
9aab47ed
...
...
@@ -20,6 +20,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <math.h>
...
...
if1632/builtin.c
View file @
9aab47ed
...
...
@@ -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 <ctype.h>
#include <string.h>
...
...
if1632/relay.c
View file @
9aab47ed
...
...
@@ -17,6 +17,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
...
...
include/file.h
View file @
9aab47ed
...
...
@@ -22,7 +22,9 @@
#define __WINE_FILE_H
#include <time.h>
/* time_t */
#include <sys/time.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <sys/types.h>
#include "winbase.h"
#include "wine/windef16.h"
/* HFILE16 */
...
...
include/rpcdcep.h
View file @
9aab47ed
...
...
@@ -44,7 +44,7 @@ typedef struct _RPC_MESSAGE
unsigned
long
RpcFlags
;
}
RPC_MESSAGE
,
*
PRPC_MESSAGE
;
typedef
void
__RPC_STUB
(
*
RPC_DISPATCH_FUNCTION
)(
PRPC_MESSAGE
Message
);
typedef
void
(
__RPC_STUB
*
RPC_DISPATCH_FUNCTION
)(
PRPC_MESSAGE
Message
);
typedef
struct
{
...
...
library/config.c
View file @
9aab47ed
...
...
@@ -27,8 +27,9 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
...
...
loader/loadorder.c
View file @
9aab47ed
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <string.h>
...
...
loader/main.c
View file @
9aab47ed
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <locale.h>
#include <stdlib.h>
...
...
@@ -98,4 +99,3 @@ void WINAPI ExitKernel16( void )
WriteOutProfiles16
();
TerminateProcess
(
GetCurrentProcess
(),
0
);
}
loader/module.c
View file @
9aab47ed
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <fcntl.h>
...
...
loader/ne/segment.c
View file @
9aab47ed
...
...
@@ -20,6 +20,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdio.h>
...
...
loader/resource.c
View file @
9aab47ed
...
...
@@ -20,6 +20,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <stdlib.h>
...
...
memory/registry.c
View file @
9aab47ed
...
...
@@ -508,7 +508,7 @@ DWORD WINAPI RegQueryValueExW( HKEY hkey, LPCWSTR name, LPDWORD reserved, LPDWOR
DWORD
total_size
;
char
buffer
[
256
],
*
buf_ptr
=
buffer
;
KEY_VALUE_PARTIAL_INFORMATION
*
info
=
(
KEY_VALUE_PARTIAL_INFORMATION
*
)
buffer
;
static
const
int
info_size
=
info
->
Data
-
(
UCHAR
*
)
info
;
static
const
int
info_size
=
FIELD_OFFSET
(
KEY_VALUE_PARTIAL_INFORMATION
,
Data
)
;
TRACE
(
"(0x%x,%s,%p,%p,%p,%p=%ld)
\n
"
,
hkey
,
debugstr_w
(
name
),
reserved
,
type
,
data
,
count
,
count
?
*
count
:
0
);
...
...
msdos/int11.c
View file @
9aab47ed
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include <stdlib.h>
...
...
msdos/int21.c
View file @
9aab47ed
...
...
@@ -23,6 +23,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <time.h>
#include <fcntl.h>
...
...
msdos/ioports.c
View file @
9aab47ed
...
...
@@ -26,6 +26,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <ctype.h>
#include <stdlib.h>
...
...
objects/font.c
View file @
9aab47ed
...
...
@@ -19,6 +19,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
...
...
relay32/builtin32.c
View file @
9aab47ed
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <assert.h>
#include <string.h>
...
...
scheduler/handle.c
View file @
9aab47ed
...
...
@@ -22,6 +22,9 @@
#include <assert.h>
#include <stdio.h>
#ifdef HAVE_IO_H
# include <io.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
scheduler/timer.c
View file @
9aab47ed
...
...
@@ -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 "winerror.h"
...
...
win32/except.c
View file @
9aab47ed
...
...
@@ -35,6 +35,8 @@
* documented!
*
*/
#include "config.h"
#include "wine/port.h"
#include <stdio.h>
#include "windef.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