[libxml++] Add version information to libxml++config.h
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml++] Add version information to libxml++config.h
- Date: Tue, 20 May 2014 08:03:03 +0000 (UTC)
commit e8630d4373207b3d2003b5695f46172a5db76804
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Tue May 20 09:52:20 2014 +0200
Add version information to libxml++config.h
* libxml++config.h.in: Add LIBXMLXX_[MAJOR,MINOR,MICRO]_VERSION.
Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally in libxml++config.h.
libxml++config.h.in | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/libxml++config.h.in b/libxml++config.h.in
index f3e571a..0bdc32e 100755
--- a/libxml++config.h.in
+++ b/libxml++config.h.in
@@ -1,17 +1,19 @@
#ifndef _LIBXMLPP_CONFIG_H
-#define _LIBXMLPP_CONFIG_H 1
+#define _LIBXMLPP_CONFIG_H
#include <glibmmconfig.h>
-#ifdef GLIBMM_CONFIGURE
-/* compiler feature tests that are used during compile time and run-time
- by libxml++ only. */
+/* This is always set. This is only for backwards compatibility. */
#undef LIBXMLCPP_EXCEPTIONS_ENABLED
-#endif /* GLIBMM_CONFIGURE */
-#ifdef GLIBMM_MSC
-#define LIBXMLCPP_EXCEPTIONS_ENABLED 1
-#endif /* GLIBMM_MSC */
+/* Major version number of libxml++. */
+#undef LIBXMLXX_MAJOR_VERSION
+
+/* Minor version number of libxml++. */
+#undef LIBXMLXX_MINOR_VERSION
+
+/* Micro version number of libxml++. */
+#undef LIBXMLXX_MICRO_VERSION
#ifdef GLIBMM_DLL
#if defined(LIBXMLPP_BUILD) && defined(_WINDLL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]