+2021-01-18 Bruno Haible <bruno@clisp.org>
+
+ uninorm tests: Fix compilation error on Cygwin.
+ * tests/uninorm/test-nfc.c (n): Don't define when using a preinstalled
+ libunistring on Windows.
+ * tests/uninorm/test-nfd.c (n): Likewise.
+ * tests/uninorm/test-nfkc.c (n): Likewise.
+ * tests/uninorm/test-nfkd.c (n): Likewise.
+
2021-01-17 Bruno Haible <bruno@clisp.org>
immutable: Implement on native Windows.
#include "uninorm.h"
-#if !(WOE32DLL || defined __ANDROID__)
+#if !(((defined _WIN32 || defined __CYGWIN__) && (HAVE_LIBUNISTRING || WOE32DLL)) || defined __ANDROID__)
/* Check that UNINORM_NFC is defined and links. */
uninorm_t n = UNINORM_NFC;
#endif
#include "uninorm.h"
-#if !(WOE32DLL || defined __ANDROID__)
+#if !(((defined _WIN32 || defined __CYGWIN__) && (HAVE_LIBUNISTRING || WOE32DLL)) || defined __ANDROID__)
/* Check that UNINORM_NFD is defined and links. */
uninorm_t n = UNINORM_NFD;
#endif
#include "uninorm.h"
-#if !(WOE32DLL || defined __ANDROID__)
+#if !(((defined _WIN32 || defined __CYGWIN__) && (HAVE_LIBUNISTRING || WOE32DLL)) || defined __ANDROID__)
/* Check that UNINORM_NFKC is defined and links. */
uninorm_t n = UNINORM_NFKC;
#endif
#include "uninorm.h"
-#if !(WOE32DLL || defined __ANDROID__)
+#if !(((defined _WIN32 || defined __CYGWIN__) && (HAVE_LIBUNISTRING || WOE32DLL)) || defined __ANDROID__)
/* Check that UNINORM_NFKD is defined and links. */
uninorm_t n = UNINORM_NFKD;
#endif