GH #26: Cannot compile on gcc

GH #26: Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
This commit is contained in:
aleks-f
2012-12-12 23:02:20 -06:00
parent aab3b51f62
commit ef9cda6666
14 changed files with 70 additions and 14 deletions

View File

@@ -63,7 +63,11 @@
#if !defined(NetSSL_API)
#define NetSSL_API
#if defined (__GNUC__) && (__GNUC__ >= 4)
#define NetSSL_API __attribute__ ((visibility ("default")))
#else
#define NetSSL_API
#endif
#endif