X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcompat.h;h=9302c573fa47a0540d3c95f77290925378b0ede1;hb=984db9e30147952f67be1a8f23b381e88ea79634;hp=0357f54789eff25ef04ffed06e8e60e7513e65a6;hpb=ba7431b4fd6c62dd04d252e769e825769accb2a9;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/compat.h b/include/compat.h index 0357f5478..9302c573f 100644 --- a/include/compat.h +++ b/include/compat.h @@ -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 @@ -108,9 +106,11 @@ */ #if defined _WIN32 # include "inspircd_win32wrapper.h" +# include "threadengines/threadengine_win32.h" #else -# include # define ENTRYPOINT int main(int argc, char** argv) # define DllExport __attribute__ ((visibility ("default"))) # define CoreExport __attribute__ ((visibility ("default"))) +# include +# include "threadengines/threadengine_pthread.h" #endif