From: Cedric BAIL Date: Fri, 1 Mar 2019 13:57:50 +0000 (-0500) Subject: elementary: fix web example warning from duplicated _GNU_SOURCE. X-Git-Tag: submit/tizen/20190308.115227~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db83158ec82559c8b2c6504a860b0e8e3cd784a0;p=platform%2Fupstream%2Fefl.git elementary: fix web example warning from duplicated _GNU_SOURCE. Summary: Depends on D8072 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8073 --- diff --git a/src/examples/elementary/web_example_02.c b/src/examples/elementary/web_example_02.c index 9cffc3f..3658583 100644 --- a/src/examples/elementary/web_example_02.c +++ b/src/examples/elementary/web_example_02.c @@ -1,8 +1,10 @@ /* * gcc -o web_example_02 web_example_02.c `pkg-config --cflags --libs elementary ewebkit` -D_GNU_SOURCE */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE +#endif -#define _GNU_SOURCE #include #ifdef HAVE_ELEMENTARY_WEB #include