mirror of
https://github.com/php/php-src.git
synced 2026-04-03 14:12:38 +02:00
enable ftok implementation
This commit is contained in:
@@ -26,6 +26,10 @@
|
||||
#include <sys/ipc.h>
|
||||
#endif
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
#include "win32/ftok.h"
|
||||
#endif
|
||||
|
||||
#if HAVE_FTOK
|
||||
/* {{{ proto int ftok(string pathname, string proj)
|
||||
Convert a pathname and a project identifier to a System V IPC key */
|
||||
|
||||
@@ -160,7 +160,8 @@ ADD_SOURCES("main/streams", "streams.c cast.c memory.c filter.c plain_wrapper.c
|
||||
ADD_FLAG("CFLAGS_BD_MAIN_STREAMS", "/D ZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
|
||||
|
||||
ADD_SOURCES("win32", "dllmain.c glob.c readdir.c \
|
||||
registry.c select.c sendmail.c time.c winutil.c wsyslog.c globals.c getrusage.c");
|
||||
registry.c select.c sendmail.c time.c winutil.c wsyslog.c globals.c \
|
||||
getrusage.c ftok.c");
|
||||
|
||||
ADD_FLAG("CFLAGS_BD_WIN32", "/D ZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
|
||||
|
||||
|
||||
@@ -183,3 +183,4 @@
|
||||
|
||||
#define HAVE_GETRUSAGE
|
||||
|
||||
#define HAVE_FTOK 1
|
||||
|
||||
Reference in New Issue
Block a user