mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 11:44:53 +08:00
Win: make static lib build default
This commit is contained in:
parent
bb5c5806ff
commit
024f80634f
@ -1,17 +1,16 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#if defined(_WIN32)
|
||||||
#if defined(_WIN32)
|
# if !defined(LIBSERIAL_DYNAMIC)
|
||||||
# if defined(LIBSERIAL_STATIC)
|
# define LIBSERIAL_EXPORT_API
|
||||||
# define LIBSERIAL_EXPORT_API
|
# else
|
||||||
# else
|
# if defined(LIBSERIAL_EXPORTS)
|
||||||
# if defined(LIBSERIAL_EXPORTS)
|
# define LIBSERIAL_EXPORT_API __declspec(dllexport)
|
||||||
# define LIBSERIAL_EXPORT_API __declspec(dllexport)
|
# else
|
||||||
# else
|
# define LIBSERIAL_EXPORT_API __declspec(dllimport)
|
||||||
# define LIBSERIAL_EXPORT_API __declspec(dllimport)
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# endif
|
#else
|
||||||
#else
|
# define LIBSERIAL_EXPORT_API
|
||||||
# define LIBSERIAL_EXPORT_API
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user