Skip to content

Commit

Permalink
Fix fallback define for DECLSPEC for non-Windows platforms.
Browse files Browse the repository at this point in the history
Looks like it was a copy/paste error?

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

Fixes Bugzilla #2720.
  • Loading branch information
icculus committed May 26, 2015
1 parent 59f69f6 commit a21672c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/begin_code.h
Expand Up @@ -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
Expand Down

0 comments on commit a21672c

Please sign in to comment.