summaryrefslogtreecommitdiff
path: root/src/lib/ecore_x/Ecore_X.h
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-08 15:26:27 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-08 15:26:27 +0000
commitf8c480fc831b53c06ca745bf6b6875e503bb3b59 (patch)
tree893a0b4853451a1ed63bca842ca5b4d39d4babf8 /src/lib/ecore_x/Ecore_X.h
parentf74c3dae7527665455588647e744e2250cfabe39 (diff)
efl/ecore_x: add version and backend to header file.
instead of -DHAVE_ECORE_X_XCB in the pc, which is a super-hack, add a proper compile-time generated ecore_x_version.h that is included by Ecore_X.h This file contains HAVE_ECORE_X_XLIB or HAVE_ECORE_X_XCB defined and will also define ECORE_X_VERSION_MAJOR and ECORE_X_VERSION_MINOR as per other EFL (Ecore), also defining the runtime version in Ecore_X_Version. SVN revision: 80524
Diffstat (limited to 'src/lib/ecore_x/Ecore_X.h')
-rw-r--r--src/lib/ecore_x/Ecore_X.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_x/Ecore_X.h b/src/lib/ecore_x/Ecore_X.h
index a072103cc6..4764c996f4 100644
--- a/src/lib/ecore_x/Ecore_X.h
+++ b/src/lib/ecore_x/Ecore_X.h
@@ -25,6 +25,8 @@
25# endif // ifdef __GNUC__ 25# endif // ifdef __GNUC__
26#endif // ifdef _MSC_VER 26#endif // ifdef _MSC_VER
27 27
28#include "ecore_x_version.h"
29
28#include <sys/types.h> 30#include <sys/types.h>
29 31
30/** 32/**