blob: 271059356b8e3577b351456ce87109361cf6e32b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <stdio.h>
#ifdef _WIN32
#define DO_IMPORT __declspec(dllimport)
#else
#define DO_IMPORT
#endif
DO_IMPORT int foo(void);
int main(void) {
printf("This is text.\n");
return foo();
}
|