summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_basic_example.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-29 13:10:14 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-02 10:34:47 +0100
commit3be5126b35dd6dea017bec4a3e2420bd535c54f7 (patch)
treef0358159340fab57afc529e37dfbc82df8051d5e /src/examples/emotion/emotion_basic_example.c
parentd7f43c6018b3f8be3053281c279681278fe269f1 (diff)
examples: fix warnings regarding multiple defines
compiling them stand alone still defines the correct definitions
Diffstat (limited to 'src/examples/emotion/emotion_basic_example.c')
-rw-r--r--src/examples/emotion/emotion_basic_example.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/examples/emotion/emotion_basic_example.c b/src/examples/emotion/emotion_basic_example.c
index 0badc5a34a..8f470041a7 100644
--- a/src/examples/emotion/emotion_basic_example.c
+++ b/src/examples/emotion/emotion_basic_example.c
@@ -1,8 +1,12 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_basic_example emotion_basic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo` 2// gcc -o emotion_basic_example emotion_basic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eo`
3 3
4#define EFL_BETA_API_SUPPORT 4#ifndef EFL_EO_API_SUPPORT
5#define EFL_EO_API_SUPPORT 5# define EFL_EO_API_SUPPORT
6#endif
7#ifndef EFL_BETA_API_SUPPORT
8# define EFL_BETA_API_SUPPORT
9#endif
6#include <Eo.h> 10#include <Eo.h>
7 11
8#include <Ecore.h> 12#include <Ecore.h>