summaryrefslogtreecommitdiffstats
path: root/src/moc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-08 20:42:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-08 20:42:42 +0900
commitc485764cd4d94f272538d7228373fb039f427265 (patch)
tree09553f478c1b2d73ab180db1e34751318c195923 /src/moc
parent230ed5e400ea4276d927570a7781cfcb5c7a534a (diff)
downloadqt3-c485764cd4d94f272538d7228373fb039f427265.tar.gz
qt3-c485764cd4d94f272538d7228373fb039f427265.zip
Replaced _BSD_SOURCE, _SVID_SOURCE, _GNU_SOURCE with _DEFAULT_SOURCE.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/moc')
-rw-r--r--src/moc/moc_yacc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/moc/moc_yacc.cpp b/src/moc/moc_yacc.cpp
index bf152b3..2ab0be7 100644
--- a/src/moc/moc_yacc.cpp
+++ b/src/moc/moc_yacc.cpp
@@ -2112,7 +2112,7 @@ yystrlen (yystr)
# endif
# ifndef yystpcpy
-# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
+# if defined __GLIBC__ && defined _STRING_H && defined _DEFAULT_SOURCE
# define yystpcpy stpcpy
# else
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in