X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/3544c8e738c3993d9c87417329c573544f641ad9..5f624baebe43889bb2810720cb9cc6d0812f49cb:/lib/common.h diff --git a/lib/common.h b/lib/common.h index 93dd431..6c90fd6 100644 --- a/lib/common.h +++ b/lib/common.h @@ -26,12 +26,16 @@ # 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