Fix compilation warnings on Win32.
This commit is contained in:
parent
f377a31839
commit
775042db3a
@ -69,7 +69,7 @@
|
||||
/* #undef HAVE_OPEN64 */
|
||||
/* #undef HAVE_PIPE */
|
||||
/* #undef HAVE_POSIX_MEMALIGN */
|
||||
#define HAVE_PRAGMA_INIT 1
|
||||
/* #undef HAVE_PRAGMA_INIT */
|
||||
/* #undef HAVE_PREAD */
|
||||
#define HAVE_PROCESS_H 1
|
||||
/* #undef HAVE_READV */
|
||||
|
||||
@ -50,7 +50,8 @@ typedef struct
|
||||
}
|
||||
zzuf_table_t;
|
||||
|
||||
# define DIVERT(x) { "kernel32.dll", #x, &x##_orig, x##_new }
|
||||
# define DIVERT(x) { "kernel32.dll", #x, \
|
||||
(void **)&x##_orig, (void *)x##_new }
|
||||
# define DIVERT_END { NULL, NULL, NULL, NULL }
|
||||
|
||||
extern zzuf_table_t table_stream[],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user