1 2 3 4 5 6 7
#if defined(_MSC_VER) && !defined(PROVIDER_STATIC) __declspec(dllexport) #endif int get_dat_value (void) { return 42; }