cmake/Tests/ExportImport/Export/testLib3Imp.c

14 lines
343 B
C
Raw Normal View History

#if defined(_WIN32) || defined(__CYGWIN__)
2018-08-09 18:06:22 +02:00
# define testLib3Imp_EXPORT __declspec(dllexport)
# define testLib3ImpDep_IMPORT __declspec(dllimport)
#else
2018-08-09 18:06:22 +02:00
# define testLib3Imp_EXPORT
# define testLib3ImpDep_IMPORT
#endif
2012-02-18 12:40:36 +02:00
testLib3ImpDep_IMPORT int testLib3ImpDep(void);
2016-07-09 11:21:54 +02:00
testLib3Imp_EXPORT int testLib3Imp(void)
{
return testLib3ImpDep();
}