examples: evas: put define into config_h guards to avoid redefinition

evas-images5.c:19:0: warning: "EFL_BETA_API_SUPPORT" redefined
 #define EFL_BETA_API_SUPPORT
 ^
 In file included from evas-images5.c:14:0:
 ../../../config.h:360:0: note: this is the location of the previous definition
  #define EFL_BETA_API_SUPPORT 1

We should only define it when we are not using config.h
This commit is contained in:
Stefan Schmidt 2016-06-21 17:05:48 +02:00
parent 24ee3e4d12
commit 318e249fd4
1 changed files with 1 additions and 2 deletions

View File

@ -14,9 +14,8 @@
#include "config.h"
#else
#define PACKAGE_EXAMPLES_DIR "."
#endif
#define EFL_BETA_API_SUPPORT
#endif
#include <Ecore.h>
#include <Ecore_Evas.h>