Skip to content

Commit 6973bed

Browse files
committed
Declare ext/standard constants in stubs - part 9
1 parent 433ed09 commit 6973bed

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
@@ -81,6 +81,9 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
8181

8282
#include <string.h>
8383
#include <locale.h>
84+
#ifdef HAVE_LANGINFO_H
85+
# include <langinfo.h>
86+
#endif
8487

8588
#ifdef HAVE_SYS_MMAN_H
8689
# include <sys/mman.h>
@@ -311,10 +314,6 @@ PHP_MINIT_FUNCTION(basic) /* {{{ */
311314
BASIC_MINIT_SUBMODULE(localeconv)
312315
#endif
313316

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

0 commit comments

Comments
 (0)