php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch kfbsd.preprocessor for Compile Failure Bug #64490

Patch version 2013-03-22 18:06 UTC

Return to Bug #64490 | Download this patch
Patch Revisions:

Developer: krakjoe@php.net

--- ext/opcache/ZendAccelerator.h.orig	2013-03-22 18:00:45.000000000 +0000
+++ ext/opcache/ZendAccelerator.h	2013-03-22 18:01:03.000000000 +0000
@@ -93,7 +93,7 @@
 #ifndef ZEND_WIN32
 extern int lock_file;
 
-# if defined(__FreeBSD__)  || (defined(__APPLE__) && defined(__MACH__)/* Darwin */) || defined(__OpenBSD__) || defined(__NetBSD__)
+# if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || (defined(__APPLE__) && defined(__MACH__)/* Darwin */) || defined(__OpenBSD__) || defined(__NetBSD__)
 #  define FLOCK_STRUCTURE(name, type, whence, start, len) \
 		struct flock name = {start, len, -1, type, whence}
 # elif defined(__svr4__)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 23:01:31 2024 UTC