Преглед изворни кода

Fix module export on GCC...

Alex Szpakowski пре 3 година
родитељ
комит
b7d19d09e4
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/common/config.h

+ 1 - 1
src/common/config.h

@@ -26,7 +26,7 @@
 
 #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
 	#define HTTPS_DLLEXPORT __declspec(dllexport)
-#elif defined(__GNUC_) || defined(__clang__)
+#elif defined(__GNUC__) || defined(__clang__)
 	#define HTTPS_DLLEXPORT __attribute__ ((visibility("default")))
 #else
 	#define HTTPS_DLLEXPORT