Initial rework
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#if defined(_WIN32) && defined(_PRINT_BUILD_DLL)
|
||||
# define PRINTAPI __declspec(dllexport)
|
||||
#elif defined(_WIN32) && defined(PRINT_DLL)
|
||||
# define PRINTAPI __declspec(dllimport)
|
||||
#elif defined(__GNUC__) && defined(_PRINT_BUILD_DLL)
|
||||
# define PRINTAPI __attribute__((visibility("default")))
|
||||
#else
|
||||
# define PRINTAPI
|
||||
#endif
|
||||
|
||||
PRINTAPI void print(const char* msg);
|
||||
Reference in New Issue
Block a user