mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
16 lines
249 B
C
16 lines
249 B
C
#ifdef CHECK_FUNCTION_EXISTS
|
|
|
|
char CHECK_FUNCTION_EXISTS();
|
|
|
|
int main()
|
|
{
|
|
CHECK_FUNCTION_EXISTS();
|
|
return 0;
|
|
}
|
|
|
|
#else /* CHECK_FUNCTION_EXISTS */
|
|
|
|
# error "CHECK_FUNCTION_EXISTS has to specify the function"
|
|
|
|
#endif /* CHECK_FUNCTION_EXISTS */
|