a.cpp 184 B

12345678910111213
  1. #ifdef _MSC_VER
  2. # define testshlib_EXPORT __declspec(dllexport)
  3. #else
  4. # define testshlib_EXPORT
  5. #endif
  6. extern testshlib_EXPORT void foo();
  7. static const int truc=5;
  8. void foo() { }