]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/compat.h
m_alias Use equal_range() when searching for aliases
[user/henk/code/inspircd.git] / include / compat.h
index ffb0d0bddd665eca74818385f920e3eff67acebf..fa75cd75434b228d8d96ed350acc509d7142cc51 100644 (file)
@@ -41,7 +41,6 @@
 #if defined __clang__ || defined __GNUC__
 # define CUSTOM_PRINTF(stringpos, firstpos) __attribute__((format(printf, stringpos, firstpos)))
 #else
-# pragma message ("Warning! CUSTOM_PRINTF() does not work on your compiler!")
 # define CUSTOM_PRINTF(stringpos, firstpos)
 #endif
 
@@ -98,7 +97,6 @@
 #elif defined _MSC_VER
 # define DEPRECATED_METHOD(function) __declspec(deprecated) function
 #else
-# pragma message ("Warning! DEPRECATED_METHOD() does not work on your compiler!")
 # define DEPRECATED_METHOD(function) function
 #endif
 
 # include "inspircd_win32wrapper.h"
 #else
 # include <unistd.h>
-# define DllExport
-# define CoreExport
+# define ENTRYPOINT int main(int argc, char** argv)
+# define DllExport __attribute__ ((visibility ("default")))
+# define CoreExport __attribute__ ((visibility ("default")))
 #endif