mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-05 13:35:32 +00:00
ICU-22532 Move the definition of _POSIX_C_SOURCE to the Makefile.
This is already set in Makefile.in and therefore results in a macro redefined warning if also defined in the source file. It seems that setting this in the Makefile was how it was originally intended do be done (but then it was just never updated there).
This commit is contained in:
parent
5eded36279
commit
e81b8727aa
2 changed files with 2 additions and 4 deletions
|
@ -27,7 +27,8 @@ TDATA = $(PRIMARY_DATA) $(SUPPLEMENTAL_DATA)
|
|||
|
||||
TZDIR=zoneinfo
|
||||
|
||||
CFLAGS+=-D_POSIX_C_SOURCE
|
||||
# https://man7.org/linux/man-pages/man2/symlink.2.html
|
||||
CFLAGS+=-D_POSIX_C_SOURCE=200112L
|
||||
CPPFLAGS+= -DTZDIR=\"$(TZDIR)\"
|
||||
|
||||
# more data
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
** 2006-07-17 by Arthur David Olson.
|
||||
*/
|
||||
|
||||
/* https://man7.org/linux/man-pages/man2/symlink.2.html */
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
|
||||
/* Enable extensions and modifications for ICU. */
|
||||
#define ICU
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue