wepoll/config/external/dllexport/config-external.h
Bert Belder 3ad20d71ff
build: refactor config infrastructure and test build setup
* Configuration is now done with files, instead of through command line
  switches specified in CMakeLists.txt.
* Link tests with a static library instead of compiling individual
  wepoll source files as part of the test executable. This should make
  the CI run significantly faster.
2020-01-12 23:56:59 +01:00

6 lines
138 B
C

#ifdef _MSC_VER
#define WEPOLL_EXPORT __declspec(dllexport)
#else /* GCC/Clang */
#define WEPOLL_EXPORT __attribute__((dllexport))
#endif