ladybird/Ports/php/patches/php_fopen_wrapper.c.patch
Jelle Raaijmakers 280785f0fa Ports: Add PHP
2021-06-04 10:39:41 +02:00

12 lines
322 B
Diff

--- php-8.0.6/ext/standard/php_fopen_wrapper.c 2021-05-04 19:26:18.000000000 +0200
+++ php-8.0.6-patched/ext/standard/php_fopen_wrapper.c 2021-06-04 01:04:07.104126109 +0200
@@ -317,7 +317,7 @@
return NULL;
}
-#if HAVE_UNISTD_H
+#if !HAVE_UNISTD_H
dtablesize = getdtablesize();
#else
dtablesize = INT_MAX;