bring back small undef
undef for small was removed when converting to cmake build system, which breaks compile on windows if bzlib.h is included after windows.h
This commit is contained in:
parent
641af3083a
commit
5801940e0e
4
bzlib.h
4
bzlib.h
@ -76,6 +76,10 @@ typedef
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
|
# ifdef small
|
||||||
|
/* windows.h define small to char */
|
||||||
|
# undef small
|
||||||
|
# endif
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
# include <sys/utime.h>
|
# include <sys/utime.h>
|
||||||
# define fdopen _fdopen
|
# define fdopen _fdopen
|
||||||
|
Loading…
Reference in New Issue
Block a user