Added support for Mac OS X and building with clang (bug 5601, r=dvander).
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include "amx.h"
|
||||
|
||||
#undef DLLEXPORT
|
||||
#ifndef __linux__
|
||||
#if defined(_WIN32)
|
||||
#define DLLEXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define DLLEXPORT __attribute__((visibility("default")))
|
||||
|
||||
Reference in New Issue
Block a user