Another linux compile fix.

This commit is contained in:
cib
2012-06-23 00:52:58 +04:00
parent 525d068138
commit 5ea5af38d7
2 changed files with 2 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ const char* SUCCESS = "1\0"; // string representing success
#ifdef __WIN32
#define DLL_EXPORT __declspec(dllexport)
#else
#define DLL_EXPORT _attribute__ ((visibility ("default")))
#define DLL_EXPORT __attribute__ ((visibility ("default")))
#endif
// arg1: ip(in the xx.xx.xx.xx format)