summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_generic_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_generic_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_generic_example.c')
-rw-r--r--src/examples/emotion/emotion_generic_example.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/examples/emotion/emotion_generic_example.c b/src/examples/emotion/emotion_generic_example.c
index 25e3994..0bd722a 100644
--- a/src/examples/emotion/emotion_generic_example.c
+++ b/src/examples/emotion/emotion_generic_example.c
@@ -1,8 +1,11 @@
1//Compile with: 1//Compile with:
2// gcc -o emotion_generic_example emotion_generic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eina eo` 2// gcc -o emotion_generic_example emotion_generic_example.c `pkg-config --libs --cflags emotion evas ecore ecore-evas eina eo`
3 3#ifndef EFL_EO_API_SUPPORT
4#define EFL_EO_API_SUPPORT 4# define EFL_EO_API_SUPPORT
5#define EFL_BETA_API_SUPPORT 5#endif
6#ifndef EFL_BETA_API_SUPPORT
7# define EFL_BETA_API_SUPPORT
8#endif
6 9
7#include <Ecore.h> 10#include <Ecore.h>
8#include <Ecore_Evas.h> 11#include <Ecore_Evas.h>