X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetworkOLK%2Ffgd.h;h=22bee01bd0b6cdc7ab79b681eaa2edf97f55707a;hb=b9e866cfdd765cc742a6c9b3e35c8a9c1ca08dfc;hp=ceedb5a74240268bf77354ff063fd7bb8a867f98;hpb=e61785f83bcdfbf27128687656ec79b9ab7f9ab1;p=flightgear.git diff --git a/src/NetworkOLK/fgd.h b/src/NetworkOLK/fgd.h index ceedb5a74..22bee01bd 100644 --- a/src/NetworkOLK/fgd.h +++ b/src/NetworkOLK/fgd.h @@ -1,5 +1,9 @@ -#include + + +#ifndef _MSC_VER + #include +#include #include #include #include @@ -10,10 +14,10 @@ /* this seems to be missing for glibc-2.0.x */ /* libc5 & glibc-2.1 do have them */ #ifndef MSG_PEEK -int MSG_PEEK = 0x02; /* Peek at incoming messages. */ -#define MSG_PEEK MSG_PEEK +#define MSG_PEEK 0x02 /* Peek at incoming messages. */ #endif #ifndef MSG_WAITALL -int MSG_WAITALL = 0x100; /* Wait for a full request. */ -#define MSG_WAITALL MSG_WAITALL +#define MSG_WAITALL 0x100 /* Wait for a full request. */ #endif + +#endif /* !_MSC_VER */