forked from enlightenment/efl
elementary: fix web example warning from duplicated _GNU_SOURCE.
Summary: Depends on D8072 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8073
This commit is contained in:
parent
46044d719f
commit
426963ee52
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue