Apparently the visibility attribute only exists in gcc3 and up.

This commit is contained in:
Ryan C. Gordon 2006-03-23 10:15:29 +00:00
parent 0d9f7c7b8a
commit cbf1dc67f3
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ extern "C" {
#ifndef DOXYGEN_SHOULD_IGNORE_THIS
#if (defined _MSC_VER)
#define __EXPORT__ __declspec(dllexport)
#elif (defined __GNUC__)
#elif (__GNUC__ >= 3)
#define __EXPORT__ __attribute__((visibility("default")))
#else
#define __EXPORT__