Skip to content

Commit fd06c19

Browse files
committed
Declare ext/standard constants in stubs - part 9
1 parent fabfe1e commit fd06c19

File tree

5 files changed

+699
-177
lines changed

5 files changed

+699
-177
lines changed

ext/standard/basic_functions.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
8080

8181
#include <string.h>
8282
#include <locale.h>
83+
#ifdef HAVE_LANGINFO_H
84+
# include <langinfo.h>
85+
#endif
8386

8487
#ifdef HAVE_SYS_MMAN_H
8588
# include <sys/mman.h>
@@ -310,10 +313,6 @@ PHP_MINIT_FUNCTION(basic) /* {{{ */
310313
BASIC_MINIT_SUBMODULE(localeconv)
311314
#endif
312315

313-
#ifdef HAVE_NL_LANGINFO
314-
BASIC_MINIT_SUBMODULE(nl_langinfo)
315-
#endif
316-
317316
#ifdef ZEND_INTRIN_SSE4_2_FUNC_PTR
318317
BASIC_MINIT_SUBMODULE(string_intrin)
319318
#endif

0 commit comments

Comments
 (0)