comparison include/begin_code.h @ 1595:4aa7df2476e7

Only use the visibility attribute in gcc 4.0 or newer
author Sam Lantinga <slouken@libsdl.org>
date Thu, 23 Mar 2006 07:34:03 +0000
parents 0fd72308659e
children f12379c41042
comparison
equal deleted inserted replaced
1594:c439dad53df8 1595:4aa7df2476e7
58 # endif 58 # endif
59 # else 59 # else
60 # define DECLSPEC 60 # define DECLSPEC
61 # endif 61 # endif
62 # else 62 # else
63 # if defined(__GNUC__) 63 # if defined(__GNUC__) && __GNUC__ >= 4
64 # define DECLSPEC __attribute__ ((visibility("default"))) 64 # define DECLSPEC __attribute__ ((visibility("default")))
65 # else 65 # else
66 # define DECLSPEC 66 # define DECLSPEC
67 # endif 67 # endif
68 # endif 68 # endif