From c485764cd4d94f272538d7228373fb039f427265 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 8 Oct 2018 20:42:42 +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/moc_yacc.cpp') 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 -- cgit v1.2.3