Initial community commit
This commit is contained in:
18
Src/replicant/foundation/export.h
Normal file
18
Src/replicant/foundation/export.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define DLLEXPORT __declspec(dllexport)
|
||||
#elif defined(__GNUC__)
|
||||
#define DLLEXPORT __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#error port me!
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define DLLIMPORT __declspec(dllimport)
|
||||
#elif defined(__GNUC__)
|
||||
#define DLLIMPORT
|
||||
#else
|
||||
#error port me!
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user