From 455154cec427d29bd453692ca4f6ee7a098eb778 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 7 Oct 2018 23:08:43 +0900 Subject: Replaced _BSD_SOURCE, _SVID_SOURCE, _GNU_SOURCE with _DEFAULT_SOURCE. Signed-off-by: Michele Calgaro --- src/moc/moc_yacc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/moc') 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 -- cgit v1.2.1