From: Cedric BAIL Date: Fri, 1 Mar 2019 13:58:59 +0000 (-0500) Subject: elementary: fix combobox example to not duplicate the definition of _GNU_SOURCE. X-Git-Tag: submit/tizen/20190308.115227~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=544327670e07f8d59f27cca98e42615b4c1c3623;p=platform%2Fupstream%2Fefl.git elementary: fix combobox example to not duplicate the definition of _GNU_SOURCE. Summary: Depends on D8075 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8076 --- diff --git a/src/examples/elementary/combobox_example_01.c b/src/examples/elementary/combobox_example_01.c index 186e17e..ca450b2 100644 --- a/src/examples/elementary/combobox_example_01.c +++ b/src/examples/elementary/combobox_example_01.c @@ -1,7 +1,8 @@ //Compile with: //gcc -o combobox_example_01 combobox_example_01.c -g `pkg-config --cflags --libs elementary` - -#define _GNU_SOURCE +#ifndef _GNU_SOURCE +# define _GNU_SOURCE +#endif #include #include