1
0
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:
Anatol Belski
2015-09-22 21:26:33 +02:00
parent 5def56e23f
commit 2dc0ce2fcd
3 changed files with 7 additions and 1 deletions

View File

@@ -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 */

View File

@@ -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");

View File

@@ -183,3 +183,4 @@
#define HAVE_GETRUSAGE
#define HAVE_FTOK 1