aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/178 bothlibraries/mylib.h
blob: 1038a0142100c6af8eee9a0da6f834414a01e05e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#ifdef _WIN32
  #ifdef STATIC_COMPILATION
    #define DO_IMPORT extern
  #else
    #define DO_IMPORT __declspec(dllimport)
  #endif
  #define DO_EXPORT __declspec(dllexport)
#else
  #define DO_IMPORT extern
  #define DO_EXPORT
#endif