diff options
Diffstat (limited to 'gl/lib/select.c')
-rw-r--r-- | gl/lib/select.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gl/lib/select.c b/gl/lib/select.c index ab278a42..ee2f0194 100644 --- a/gl/lib/select.c +++ b/gl/lib/select.c @@ -1,7 +1,7 @@ /* Emulation for select(2) Contributed by Paolo Bonzini. - Copyright 2008-2018 Free Software Foundation, Inc. + Copyright 2008-2019 Free Software Foundation, Inc. This file is part of gnulib. @@ -47,6 +47,10 @@ #undef select +/* Avoid warnings from gcc -Wcast-function-type. */ +#define GetProcAddress \ + (void *) GetProcAddress + struct bitset { unsigned char in[FD_SETSIZE / CHAR_BIT]; unsigned char out[FD_SETSIZE / CHAR_BIT]; |