ftok and weird ifdefs

From: Date: Sat, 19 Oct 2002 16:52:07 +0000
Subject: ftok and weird ifdefs
Groups: php.dev 
Request: Send a blank email to php-dev+get-89736@lists.php.net to get a copy of this message
Hello Andrew, I was checking some test result output, and while doing that I found that ftok is only defined while this preprocessor macro evalutates to true: #if HAVE_SYSVSEM || HAVE_SYSVSHM || HAVE_SHMOP Can you tell me why this is needed? It is in both in: ext/standard/basic_functions.c (line 834) ext/standard/ftok.c (line 23) ext/standard/php_ftok.h (line 24) regards, Derick -- --------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ JDI Media Solutions http://www.jdimedia.nl/ ---------------------------------------------------------------------------

« previous php.dev (#89736) next »