elementary: fix Evas3D examples warning due to double define.

Summary: Depends on D8070

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8071
This commit is contained in:
Cedric BAIL 2019-03-01 08:56:16 -05:00 committed by Christopher Michael
parent 50df527e28
commit 2abee9bfe9
4 changed files with 24 additions and 11 deletions

View File

@ -1,5 +1,9 @@
#define EFL_BETA_API_SUPPORT
#define EFL_EO_API_SUPPORT
#ifndef EFL_EO_API_SUPPORT
# define EFL_EO_API_SUPPORT
#endif
#ifndef EFL_BETA_API_SUPPORT
# define EFL_BETA_API_SUPPORT
#endif
#include <Elementary.h>

View File

@ -5,10 +5,12 @@
* Compile with:
* gcc -o evas3d_object_on_button_example evas3d_object_on_button_example.c -g `pkg-config --libs --cflags evas ecore eo elementary`
*/
#define EFL_BETA_API_SUPPORT
#define EFL_EO_API_SUPPORT
#ifndef EFL_BETA_API_SUPPORT
# define EFL_BETA_API_SUPPORT
#endif
#ifndef EFL_EO_API_SUPPORT
# define EFL_EO_API_SUPPORT
#endif
#include <Eo.h>
#include <Evas.h>

View File

@ -5,9 +5,12 @@
* Compile with:
* gcc -o evas3d_scene_on_button_example evas3d_scene_on_button_example.c -g `pkg-config --libs --cflags evas ecore eo elementary`
*/
#define EFL_BETA_API_SUPPORT
#define EFL_EO_API_SUPPORT
#ifndef EFL_EO_API_SUPPORT
# define EFL_EO_API_SUPPORT
#endif
#ifndef EFL_BETA_API_SUPPORT
# define EFL_BETA_API_SUPPORT
#endif
#define WIDTH 500
#define HEIGHT 500

View File

@ -14,8 +14,12 @@
* edje_cc sphere_hunter.edc
* gcc -o evas_3d_sphere_hunter evas_3d_sphere_hunter.c -g `pkg-config --libs --cflags evas ecore elementary eina eo` -lm
*/
#define EFL_BETA_API_SUPPORT
#ifndef EFL_EO_API_SUPPORT
# define EFL_EO_API_SUPPORT
#endif
#ifndef EFL_BETA_API_SUPPORT
# define EFL_BETA_API_SUPPORT
#endif
#include <Elementary.h>
#include <Ecore.h>