CMake/Tests/ExportImport/Import/imp_mod1.c

14 lines
269 B
C

#if defined(_WIN32) || defined(__CYGWIN__)
# define testExe2_IMPORT __declspec(dllimport)
#else
# define testExe2_IMPORT
#endif
testExe2_IMPORT int testExe2Func(void);
testExe2_IMPORT int testExe2lib(void);
int imp_mod1()
{
return testExe2Func() + testExe2lib();
}