mirror of
https://github.com/simh/simh.git
synced 2026-02-27 17:13:44 +00:00
slirp_glue: cleanup compiler warning of duplicate definition of O_BINARY under Cygwin
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
#include "glib.h"
|
||||
#include "config-host.h"
|
||||
|
||||
#if defined(O_BINARY) /* O_BINARY isn't used in slirp */
|
||||
#undef O_BINARY /* Avoid potential redefinition elsewhere */
|
||||
#endif
|
||||
|
||||
/* HOST_LONG_BITS is the size of a native pointer in bits. */
|
||||
#if UINTPTR_MAX == UINT32_MAX
|
||||
# define HOST_LONG_BITS 32
|
||||
|
||||
Reference in New Issue
Block a user