1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef shared2_h #define shared2_h #ifdef WIN32 # ifdef shared2_EXPORTS # define SHARED2_EXPORT __declspec(dllexport) # else # define SHARED2_EXPORT __declspec(dllimport) # endif #else # define SHARED2_EXPORT #endif void SHARED2_EXPORT shared2(); #endif