Skip to content

Commit a4fd260

Browse files
authored
Declare ext/standard constants in stubs - part 9 (#9717)
1 parent e4e6c3e commit a4fd260

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

8383
#include <string.h>
8484
#include <locale.h>
85+
#ifdef HAVE_LANGINFO_H
86+
# include <langinfo.h>
87+
#endif
8588

8689
#ifdef HAVE_SYS_MMAN_H
8790
# include <sys/mman.h>
@@ -312,10 +315,6 @@ PHP_MINIT_FUNCTION(basic) /* {{{ */
312315
BASIC_MINIT_SUBMODULE(localeconv)
313316
#endif
314317

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

0 commit comments

Comments
 (0)