summaryrefslogtreecommitdiffstats
path: root/src/moc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-07 23:08:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-07 23:08:43 +0900
commit455154cec427d29bd453692ca4f6ee7a098eb778 (patch)
tree4ed8096f3be6edc0ad288bc1f83f453cd09c0a50 /src/moc
parent5774d0780734ba03e9e65abb13d9799761c34ae4 (diff)
downloadtqt3-455154cec427d29bd453692ca4f6ee7a098eb778.tar.gz
tqt3-455154cec427d29bd453692ca4f6ee7a098eb778.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 8ae53116a..d384e0baa 100644
--- a/src/moc/moc_yacc.cpp
+++ b/src/moc/moc_yacc.cpp
@@ -2117,7 +2117,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