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:
629ca7f
)
elementary: fix web example warning from duplicated _GNU_SOURCE.
author
Cedric BAIL
<cedric.bail@free.fr>
Fri, 1 Mar 2019 13:57:50 +0000
(08:57 -0500)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:37 +0000
(20:49 +0900)
Summary: Depends on D8072
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8073
src/examples/elementary/web_example_02.c
patch
|
blob
|
history
diff --git
a/src/examples/elementary/web_example_02.c
b/src/examples/elementary/web_example_02.c
index
9cffc3f
..
3658583
100644
(file)
--- 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 <Elementary.h>
#ifdef HAVE_ELEMENTARY_WEB
#include <EWebKit.h>