ICU-22532 Set a value for _POSIX_C_SOURCE to get symlink() declared.

ISO C99 and later do not support implicit function declarations.
This commit is contained in:
Fredrik Roubert 2024-01-08 14:17:38 +09:00 committed by Fredrik Roubert
parent 23d1fc5989
commit a837e0d399

View file

@ -3,6 +3,9 @@
** 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