From: Sebastian Pipping <sebastian@pipping.org>
Date: Thu, 29 Aug 2019 22:13:30 +0000 (+0200)
Subject: CMake: Make expat_config.h.cmake match expat_config.h.in variable order
X-Git-Tag: R_2_2_8~25^2~5
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d31810306a1ca37e4337b483afa400adc760dcf1;p=libexpat

CMake: Make expat_config.h.cmake match expat_config.h.in variable order
---

diff --git a/expat/expat_config.h.cmake b/expat/expat_config.h.cmake
index f92d4c94..87c54afb 100644
--- a/expat/expat_config.h.cmake
+++ b/expat/expat_config.h.cmake
@@ -78,31 +78,31 @@
 /* whether byteorder is bigendian */
 #cmakedefine WORDS_BIGENDIAN
 
+/* Define to allow retrieving the byte offsets for attribute names and values.
+ */
+#cmakedefine XML_ATTR_INFO
+
 /* Define to specify how much context to retain around the current parse
    point. */
 #cmakedefine XML_CONTEXT_BYTES @XML_CONTEXT_BYTES@
 
+#if ! defined(_WIN32)
+/* Define to include code reading entropy from `/dev/urandom'. */
+  #cmakedefine XML_DEV_URANDOM
+#endif
+
 /* Define to make parameter entity parsing functionality available. */
 #cmakedefine XML_DTD
 
 /* Define to make XML Namespaces functionality available. */
 #cmakedefine XML_NS
 
-#if ! defined(_WIN32)
-/* Define to extract entropy from /dev/urandom. */
-  #cmakedefine XML_DEV_URANDOM
-#endif
-
 /* Define to use UTF-16 chars (two bytes). */
 #cmakedefine XML_UNICODE
 
 /* Define to use wchar_t as UTF-16 char type instead of unsigned short. */
 #cmakedefine XML_UNICODE_WCHAR_T
 
-/* Define to allow retrieving the byte offsets for attribute names and values.
- */
-#cmakedefine XML_ATTR_INFO
-
 /* Define to __FUNCTION__ or "" if `__func__' does not conform to ANSI C. */
 #ifdef _MSC_VER
 #  define __func__ __FUNCTION__