Added export def to test case.

pull/15/head
Jussi Pakkanen 11 years ago
parent 23ac32c196
commit 722be81bfb
  1. 8
      test cases/common/6 linkshared/cpplib.cpp

@ -1,3 +1,9 @@
int cppfunc() {
#if defined _WIN32
#define DLL_PUBLIC __declspec(dllexport)
#else
#define DLL_PUBLIC __attribute__ ((visibility ("default")))
#endif
int DLL_PUBLIC cppfunc() {
return 42;
}

Loading…
Cancel
Save