瀏覽代碼

Fix fallback define for DECLSPEC for non-Windows platforms.

Looks like it was a copy/paste error?

GCC doesn't support visibility attributes until gcc4, so just make it blank.

Fixes Bugzilla #2720.
Ryan C. Gordon 10 年之前
父節點
當前提交
a21672c893
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      include/begin_code.h

+ 0 - 2
include/begin_code.h

@@ -64,8 +64,6 @@
 # else
 #  if defined(__GNUC__) && __GNUC__ >= 4
 #   define DECLSPEC __attribute__ ((visibility("default")))
-#  elif defined(__GNUC__) && __GNUC__ >= 2
-#   define DECLSPEC __declspec(dllexport)
 #  else
 #   define DECLSPEC
 #  endif