Apparently the visibility attribute only exists in gcc3 and up.
This commit is contained in:
parent
0d9f7c7b8a
commit
cbf1dc67f3
2
physfs.h
2
physfs.h
|
@ -153,7 +153,7 @@ extern "C" {
|
||||||
#ifndef DOXYGEN_SHOULD_IGNORE_THIS
|
#ifndef DOXYGEN_SHOULD_IGNORE_THIS
|
||||||
#if (defined _MSC_VER)
|
#if (defined _MSC_VER)
|
||||||
#define __EXPORT__ __declspec(dllexport)
|
#define __EXPORT__ __declspec(dllexport)
|
||||||
#elif (defined __GNUC__)
|
#elif (__GNUC__ >= 3)
|
||||||
#define __EXPORT__ __attribute__((visibility("default")))
|
#define __EXPORT__ __attribute__((visibility("default")))
|
||||||
#else
|
#else
|
||||||
#define __EXPORT__
|
#define __EXPORT__
|
||||||
|
|
Loading…
Reference in New Issue