Initial commit
This commit is contained in:
20
node_modules/canvas/src/dll_visibility.h
generated
vendored
Normal file
20
node_modules/canvas/src/dll_visibility.h
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef DLL_PUBLIC
|
||||
|
||||
#if defined _WIN32
|
||||
#ifdef __GNUC__
|
||||
#define DLL_PUBLIC __attribute__ ((dllexport))
|
||||
#else
|
||||
#define DLL_PUBLIC __declspec(dllexport)
|
||||
#endif
|
||||
#define DLL_LOCAL
|
||||
#else
|
||||
#if __GNUC__ >= 4
|
||||
#define DLL_PUBLIC __attribute__ ((visibility ("default")))
|
||||
#define DLL_LOCAL __attribute__ ((visibility ("hidden")))
|
||||
#else
|
||||
#define DLL_PUBLIC
|
||||
#define DLL_LOCAL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user