diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2022-08-28 15:26:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-28 15:26:30 +0200 |
commit | 9d246a722576be37d6880a63782dab30132d423e (patch) | |
tree | 83c4bdd4f080420fec172eec2b581d9db80e99c6 | |
parent | fa9f063fe4f90067212b73f0ca00fe7ba80b2769 (diff) | |
parent | 2e4ff883f165e55fbcceb0087a789fced0805e41 (diff) | |
download | libexpat-git-9d246a722576be37d6880a63782dab30132d423e.tar.gz |
Merge pull request #636 from neheb/patch-1
CMake: Drop leading whitespace from a #cmakedefine line in file expat_config.h.cmake to workaround issues with Meson
-rwxr-xr-x | expat/apply-clang-format.sh | 2 | ||||
-rw-r--r-- | expat/expat_config.h.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/expat/apply-clang-format.sh b/expat/apply-clang-format.sh index 4b51ff7f..a073eee9 100755 --- a/expat/apply-clang-format.sh +++ b/expat/apply-clang-format.sh @@ -56,6 +56,6 @@ find . \ sed \ -e 's, @$,@,' \ - -e 's,#\( \+\)cmakedefine,\1#cmakedefine,' \ + -e 's,#\( \+\)cmakedefine,#cmakedefine,' \ -i \ expat_config.h.cmake diff --git a/expat/expat_config.h.cmake b/expat/expat_config.h.cmake index 173fed16..ee4adc6d 100644 --- a/expat/expat_config.h.cmake +++ b/expat/expat_config.h.cmake @@ -94,7 +94,7 @@ #if ! defined(_WIN32) /* Define to include code reading entropy from `/dev/urandom'. */ - #cmakedefine XML_DEV_URANDOM +#cmakedefine XML_DEV_URANDOM #endif /* Define to make parameter entity parsing functionality available. */ |