comparison loader/resource.c @ 1307:d8c1b0b38edc

Add prototypes to wine/loader stuff, so that we can catch __stdcall function attribute mismatch between caller/caller. wine/loader is less sensitive to optimization now. (now that avifile-0.6 has the same patch installed, we're a bit closer to their CVS tree) Speed up win32 "QueryPerformanceFrequency" emulation on solaris.
author jkeil
date Thu, 12 Jul 2001 15:27:48 +0000
parents 3b5f5d1c5041
children 174e2a58b4cd
comparison
equal deleted inserted replaced
1306:7ce37211e454 1307:d8c1b0b38edc
5 * Copyright 1995 Alexandre Julliard 5 * Copyright 1995 Alexandre Julliard
6 */ 6 */
7 #include <config.h> 7 #include <config.h>
8 8
9 #include <assert.h> 9 #include <assert.h>
10 #include <stdio.h>
10 #include <stdlib.h> 11 #include <stdlib.h>
11 #include <string.h> 12 #include <string.h>
12 #include <sys/types.h> 13 #include <sys/types.h>
13 #include <sys/stat.h> 14 #include <sys/stat.h>
14 #include <fcntl.h> 15 #include <fcntl.h>
18 #include <wine/winuser.h> 19 #include <wine/winuser.h>
19 #include <wine/heap.h> 20 #include <wine/heap.h>
20 #include <wine/module.h> 21 #include <wine/module.h>
21 #include <wine/debugtools.h> 22 #include <wine/debugtools.h>
22 #include <wine/winerror.h> 23 #include <wine/winerror.h>
24 #include <loader.h>
25
23 #define CP_ACP 0 26 #define CP_ACP 0
24 27
25 WORD WINE_LanguageId=0x409;//english 28 WORD WINE_LanguageId=0x409;//english
26 29
27 #define HRSRC_MAP_BLOCKSIZE 16 30 #define HRSRC_MAP_BLOCKSIZE 16