Revision ab6201ab647c13fee44c44822b8502e9848faaaf authored by Matt McCormick on 05 March 2014, 22:41:47 UTC, committed by Brad King on 06 March 2014, 16:37:59 UTC
Python 3.4.0rnc1 was released on 2014-02-20.
1 parent a7c956b
Raw File
CheckFunctionExists.c
#ifdef CHECK_FUNCTION_EXISTS

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 */
back to top