X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/0b29fd3d4584bdaee16b1289fc19b43fac5eb285..69a3ec00896b5f6dcdd04d5250e8b9fc8aeb20fd:/lib/common.h diff --git a/lib/common.h b/lib/common.h index 99f8671..6c90fd6 100644 --- a/lib/common.h +++ b/lib/common.h @@ -26,11 +26,17 @@ # include #endif +#if _WIN32 +# include "disorder-win32.h" +#else # define SOCKET int # define INVALID_SOCKET (-1) # define declspec(x) # define socket_error() (errno) # define system_error() (errno) +# define network_init() +#endif + #if HAVE_INTTYPES_H # include #endif