]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Merge pull request #437 from SaberUK/insp20+doxygen-update
[user/henk/code/inspircd.git] / include / modules.h
index 281da270573d4a181c74e773771e4227027ca4c2..2b9237a5d7e617fc04d8168d6fc02655574af0d4 100644 (file)
@@ -116,7 +116,7 @@ struct ModResult {
  * and numerical comparisons in preprocessor macros if they wish to support
  * multiple versions of InspIRCd in one file.
  */
-#define INSPIRCD_VERSION_API 2
+#define INSPIRCD_VERSION_API 3
 
 /**
  * This #define allows us to call a method in all
@@ -1696,7 +1696,7 @@ struct AllModuleList {
  * and functions needed to make a module loadable by the OS.
  * It defines the class factory and external init_module function.
  */
-#ifdef WINDOWS
+#ifdef _WIN32
 
 #define MODULE_INIT(y) \
        extern "C" DllExport Module * MODULE_INIT_SYM() \