1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/lang/hiphop-php/files/patch-hphp-util-compatibility.h
Martin Matuska cd17c8f3a3 Unbreak lang/hiphop-php and update to 2.1
Some functionality issues still need fixing (sqlite3)
2013-07-21 22:06:56 +00:00

12 lines
400 B
C

--- hphp/util/compatibility.h.orig 2013-07-21 12:48:18.383655924 +0200
+++ hphp/util/compatibility.h 2013-07-21 12:48:34.993417921 +0200
@@ -24,7 +24,7 @@
#define PHP_DIR_SEPARATOR '/'
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__FreeBSD__)
char *strndup(const char* str, size_t len);
int dprintf(int fd, const char *format, ...) ATTRIBUTE_PRINTF(2,3);
typedef int clockid_t;