r785 - branches/stable-1.0 trunk
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Mar 23 05:15:29 EST 2006
Author: icculus
Date: 2006-03-23 05:15:29 -0500 (Thu, 23 Mar 2006)
New Revision: 785
Modified:
branches/stable-1.0/physfs.h
trunk/physfs.h
Log:
Apparently the visibility attribute only exists in gcc3 and up.
Modified: branches/stable-1.0/physfs.h
===================================================================
--- branches/stable-1.0/physfs.h 2006-03-23 06:49:01 UTC (rev 784)
+++ branches/stable-1.0/physfs.h 2006-03-23 10:15:29 UTC (rev 785)
@@ -153,7 +153,7 @@
#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__
Modified: trunk/physfs.h
===================================================================
--- trunk/physfs.h 2006-03-23 06:49:01 UTC (rev 784)
+++ trunk/physfs.h 2006-03-23 10:15:29 UTC (rev 785)
@@ -166,7 +166,7 @@
#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__
More information about the physfs-commits
mailing list