Merge pull request #8786 from jon-turney/cygwin-tests-reenable
Re-enable various tests on Cygwinpull/8794/head
commit
df960b0a35
11 changed files with 17 additions and 34 deletions
@ -0,0 +1,12 @@ |
||||
/* See http://gcc.gnu.org/wiki/Visibility#How_to_use_the_new_C.2B-.2B-_visibility_support */ |
||||
#if defined(_WIN32) || defined(__CYGWIN__) |
||||
#ifdef BUILDING_DLL |
||||
#define DLL_PUBLIC __declspec(dllexport) |
||||
#else |
||||
#define DLL_PUBLIC __declspec(dllimport) |
||||
#endif |
||||
#else |
||||
#define DLL_PUBLIC __attribute__ ((visibility ("default"))) |
||||
#endif |
||||
|
||||
int DLL_PUBLIC cppfunc(void); |
Loading…
Reference in new issue