export EFL_VERSION_MAJOR/MINOR

This commit is contained in:
Boris Faure 2013-08-29 15:28:32 +02:00
parent 18ee1e1789
commit 84c383dc1a
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
2013-08-29 Boris Faure
* Edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files
* Edje: export EFL_VERSION_MAJOR/MINOR when compiling edc files
2013-08-29 Cedric Bail

View File

@ -858,13 +858,13 @@ compile(void)
{
if (anotate)
snprintf(buf, sizeof(buf), "%s -anotate -a %s %s -I%s %s -o %s"
" -DEINA_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
" -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
buf2, watchfile ? watchfile : "/dev/null", file_in,
inc, def, tmpn,
EINA_VERSION_MAJOR, EINA_VERSION_MINOR);
else
snprintf(buf, sizeof(buf), "%s -a %s %s -I%s %s -o %s"
" -DEINA_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
" -DEFL_VERSION_MAJOR=%d -DEFL_VERSION_MINOR=%d",
buf2, watchfile ? watchfile : "/dev/null", file_in,
inc, def, tmpn,
EINA_VERSION_MAJOR, EINA_VERSION_MINOR);