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:
5443276
)
elementary: fix web example to define _GNU_SOURCE only if needed.
author
Cedric BAIL
<cedric.bail@free.fr>
Fri, 1 Mar 2019 13:59:19 +0000
(08:59 -0500)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:37 +0000
(20:49 +0900)
Summary: Depends on D8076
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8077
src/examples/elementary/web_example_01.c
patch
|
blob
|
history
diff --git
a/src/examples/elementary/web_example_01.c
b/src/examples/elementary/web_example_01.c
index
82b5305
..
7e38bbf
100644
(file)
--- a/
src/examples/elementary/web_example_01.c
+++ b/
src/examples/elementary/web_example_01.c
@@
-1,8
+1,10
@@
/*
* gcc -o web_example_01 web_example_01.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>