Fix compilation warnings on Win32.

This commit is contained in:
Sam Hocevar 2010-09-22 22:31:55 +00:00 committed by sam
parent f377a31839
commit 775042db3a
2 changed files with 3 additions and 2 deletions

View File

@ -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 */

View File

@ -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[],