Skip to content

Commit

Permalink
Only use the visibility attribute in gcc 4.0 or newer
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 23, 2006
1 parent ace8257 commit 2c53608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/begin_code.h
Expand Up @@ -60,7 +60,7 @@
# define DECLSPEC
# endif
# else
# if defined(__GNUC__)
# if defined(__GNUC__) && __GNUC__ >= 4
# define DECLSPEC __attribute__ ((visibility("default")))
# else
# define DECLSPEC
Expand Down

0 comments on commit 2c53608

Please sign in to comment.