From d31810306a1ca37e4337b483afa400adc760dcf1 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Fri, 30 Aug 2019 00:13:30 +0200
Subject: [PATCH] CMake: Make expat_config.h.cmake match expat_config.h.in
 variable order

---
 expat/expat_config.h.cmake | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

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__
-- 
2.40.0