projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11cfe9d
)
elementary: fix combobox example to not duplicate the definition of _GNU_SOURCE.
author
Cedric BAIL
<cedric.bail@free.fr>
Fri, 1 Mar 2019 13:58:59 +0000
(08:58 -0500)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:37 +0000
(20:49 +0900)
Summary: Depends on D8075
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8076
src/examples/elementary/combobox_example_01.c
patch
|
blob
|
history
diff --git
a/src/examples/elementary/combobox_example_01.c
b/src/examples/elementary/combobox_example_01.c
index
186e17e
..
ca450b2
100644
(file)
--- 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 <string.h>
#include <Elementary.h>