From 3322581c04d2852d8f6ac2d5db82a0eb4a063a40 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sun, 20 Oct 2002 13:35:56 +0000 Subject: - Only include ftok() if it is available --- ext/standard/ftok.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/standard/ftok.c') diff --git a/ext/standard/ftok.c b/ext/standard/ftok.c index 7f4adf450d..adb374e060 100644 --- a/ext/standard/ftok.c +++ b/ext/standard/ftok.c @@ -23,6 +23,7 @@ #include #include +#if HAVE_FTOK /* {{{ proto int ftok(string pathname, string proj) Convert a pathname and a project identifier to a System V IPC key */ PHP_FUNCTION(ftok) @@ -53,6 +54,7 @@ PHP_FUNCTION(ftok) RETURN_LONG(k); } /* }}} */ +#endif /* * Local variables: -- cgit v1.2.1