The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
204 B
15 lines
204 B
4 years ago
|
#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();
|
||
|
}
|