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.
19 lines
347 B
19 lines
347 B
10 years ago
|
#include<entity.h>
|
||
|
#include<stdio.h>
|
||
|
|
||
9 years ago
|
#ifndef USING_ENT
|
||
|
#error "Entity use flag not used for compilation."
|
||
|
#endif
|
||
|
|
||
10 years ago
|
int main(int argc, char **argv) {
|
||
|
if(entity_func1() != 5) {
|
||
|
printf("Error in func1.\n");
|
||
|
return 1;
|
||
|
}
|
||
|
if(entity_func2() != 9) {
|
||
|
printf("Error in func2.\n");
|
||
|
return 2;
|
||
|
}
|
||
|
return 0;
|
||
|
}
|