Commit 3f46314e authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

include: The visibility attribute is supported only by gcc >= 3.3.

parent abc0f385
...@@ -136,13 +136,13 @@ ...@@ -136,13 +136,13 @@
# define DECLSPEC_EXPORT __declspec(dllexport) # define DECLSPEC_EXPORT __declspec(dllexport)
#elif defined(__MINGW32__) #elif defined(__MINGW32__)
# define DECLSPEC_EXPORT __attribute__((dllexport)) # define DECLSPEC_EXPORT __attribute__((dllexport))
#elif defined(__GNUC__) && (__GNUC__ > 2) #elif defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
# define DECLSPEC_EXPORT __attribute__((visibility ("default"))) # define DECLSPEC_EXPORT __attribute__((visibility ("default")))
#else #else
# define DECLSPEC_EXPORT # define DECLSPEC_EXPORT
#endif #endif
#if defined(__GNUC__) && (__GNUC__ > 2) #if defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
# define DECLSPEC_HIDDEN __attribute__((visibility ("hidden"))) # define DECLSPEC_HIDDEN __attribute__((visibility ("hidden")))
#else #else
# define DECLSPEC_HIDDEN # define DECLSPEC_HIDDEN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment