mirror of
https://github.com/reactos/CMake.git
synced 2024-12-16 16:16:33 +00: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 */
|