]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
strtoday.c: remove POSIX 1995 conditional dependency
authorIker Pedrosa <ipedrosa@redhat.com>
Thu, 22 Dec 2022 15:14:24 +0000 (16:14 +0100)
committerSerge Hallyn <serge@hallyn.com>
Thu, 22 Dec 2022 16:39:45 +0000 (10:39 -0600)
Since the project is supposed to be POSIX.1-2001 compliant it doesn't
make sense to have that added conditionally.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
libmisc/strtoday.c

index d32187389f95d9e3b1ad2451a0f33284903fa84c..b0f15dd9c04ca0779a553222312c8195cc22ff68 100644 (file)
@@ -7,10 +7,6 @@
  * SPDX-License-Identifier: BSD-3-Clause
  */
 
-#if !defined(__GLIBC__)
-#define _XOPEN_SOURCE 500
-#endif
-
 #include <config.h>
 
 #include <ctype.h>