forked from enlightenment/efl
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:
parent
24ee3e4d12
commit
318e249fd4
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue