forked from enlightenment/efl
elementary: fix web example to define _GNU_SOURCE only if needed.
Summary: Depends on D8076 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8077
This commit is contained in:
parent
5f48e25b50
commit
c8a7a5a77f
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue