add win32 (msvc) support
This commit is contained in:
@@ -14,4 +14,14 @@
|
||||
#define z__b_numargs(arg_type, ...) \
|
||||
(sizeof((arg_type[]) {__VA_ARGS__}) / sizeof(arg_type))
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef BLUELIB_EXPORT
|
||||
#define BLUE_API extern __declspec(dllexport)
|
||||
#else
|
||||
#define BLUE_API extern __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#define BLUE_API extern
|
||||
#endif
|
||||
|
||||
#endif // B_MISB_H_
|
||||
|
||||
Reference in New Issue
Block a user