diff options
Diffstat (limited to 'Tests/RunCMake/AutoExportDll/foo.c')
-rw-r--r-- | Tests/RunCMake/AutoExportDll/foo.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/RunCMake/AutoExportDll/foo.c b/Tests/RunCMake/AutoExportDll/foo.c new file mode 100644 index 0000000..4b1318b --- /dev/null +++ b/Tests/RunCMake/AutoExportDll/foo.c @@ -0,0 +1,15 @@ +#ifdef _MSC_VER +#include "windows.h" +#else +#define WINAPI +#endif + +int WINAPI foo() +{ + return 10; +} + +int bar() +{ + return 5; +} |