Current Path : /usr/opt/nge/share/cmake-3.6/Modules/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/nge/share/cmake-3.6/Modules/CheckFunctionExists.c |
#ifdef CHECK_FUNCTION_EXISTS #ifdef __cplusplus extern "C" #endif char CHECK_FUNCTION_EXISTS(); #ifdef __CLASSIC_C__ int main() { int ac; char* av[]; #else int main(int ac, char* av[]) { #endif CHECK_FUNCTION_EXISTS(); if (ac > 1000) { return *av[0]; } return 0; } #else /* CHECK_FUNCTION_EXISTS */ #error "CHECK_FUNCTION_EXISTS has to specify the function" #endif /* CHECK_FUNCTION_EXISTS */