forked from enlightenment/efl
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:
parent
50df527e28
commit
2abee9bfe9
|
@ -1,5 +1,9 @@
|
|||
#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>
|
||||
|
||||
|
|
|
@ -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`
|
||||
*/
|
||||
|
||||
|
||||
#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>
|
||||
|
|
|
@ -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
|
||||
#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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
|
Loading…
Reference in New Issue