Apparently the visibility attribute only exists in gcc3 and up.
This commit is contained in:
parent
5d26eca4a4
commit
1444557273
2
physfs.h
2
physfs.h
|
@ -166,7 +166,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