Skip to content

Commit

Permalink
Apparently the visibility attribute only exists in gcc3 and up.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 23, 2006
1 parent 5d26eca commit 1444557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physfs.h
Expand Up @@ -166,7 +166,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__
Expand Down

0 comments on commit 1444557

Please sign in to comment.