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:
Cedric BAIL 2019-03-01 08:57:50 -05:00 committed by Christopher Michael
parent 46044d719f
commit 426963ee52
1 changed files with 3 additions and 1 deletions

View File

@ -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>