#ifdef WIN32 __declspec(dllexport) int foo42(int) { return 42;} // just a dummy to get windows build running #endif