]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/inspircd_win32wrapper.h
Display the proper transports for server ports *slap* :P
[user/henk/code/inspircd.git] / win / inspircd_win32wrapper.h
index dc2fbb7059dad87bc607511a242b142d0f1bf533..c8075b9020313c54def8798bc65a6d1bbfc7a257 100644 (file)
    I think this is more reasonable than using WIN32, especially if we're gonna be doing 64-bit compiles */\r
 #define WINDOWS 1\r
 \r
+/* Make builds smaller, leaner and faster */\r
+#define VC_EXTRALEAN\r
+\r
+/* They just have to be *different*, don't they. */\r
+#define PATH_MAX MAX_PATH\r
+\r
 /* Begone shitty 'safe STL' warnings */\r
 #define _SCL_SECURE_NO_WARNINGS\r
 #define _CRT_SECURE_NO_WARNINGS\r
@@ -160,6 +166,7 @@ typedef signed char int8_t;
 typedef signed long int32_t;\r
 typedef signed long long int64_t;\r
 \r
+/* Shared memory allocation functions */\r
 void * ::operator new(size_t iSize);\r
 void ::operator delete(void * ptr);\r
 \r
@@ -170,6 +177,7 @@ void InitIPC();
 void CheckIPC(InspIRCd * Instance);\r
 void CloseIPC();\r
 \r
+/* Look up the nameserver in use from the registry on windows */\r
 std::string FindNameServerWin();\r
 \r
 #endif\r