2008-01-28 16:40:21 +03:00
|
|
|
#if defined(_WIN32) || defined(__CYGWIN__)
|
2016-05-16 17:34:04 +03:00
|
|
|
#define testExe2_IMPORT __declspec(dllimport)
|
2008-01-28 16:40:21 +03:00
|
|
|
#else
|
2016-05-16 17:34:04 +03:00
|
|
|
#define testExe2_IMPORT
|
2008-01-28 16:40:21 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
testExe2_IMPORT int testExe2Func(void);
|
2008-01-31 01:26:09 +03:00
|
|
|
testExe2_IMPORT int testExe2lib(void);
|
2008-01-28 16:40:21 +03:00
|
|
|
|
|
|
|
int imp_mod1()
|
|
|
|
{
|
2008-01-31 01:26:09 +03:00
|
|
|
return testExe2Func() + testExe2lib();
|
2008-01-28 16:40:21 +03:00
|
|
|
}
|