blob: 85f8df9c3d61d4ca68f785beb57baf0c9f84be96 (
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();
}
|