fixed the gnuc condition for visibility attribute

This commit is contained in:
hyung-hwan 2018-02-01 13:13:58 +00:00
parent 46cd39cabb
commit 1e473ed089

View File

@ -76,7 +76,7 @@
# define QSE_IMPORT __declspec(dllimport)
# define QSE_EXPORT __declspec(dllexport)
# define QSE_PRIVATE
#elif defined(__GNUC__) && (__GNUC__>=4)
#elif defined(__GNUC__) && ((__GNUC__>= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
# define QSE_IMPORT __attribute__((visibility("default")))
# define QSE_EXPORT __attribute__((visibility("default")))
# define QSE_PRIVATE __attribute__((visibility("hidden")))