Merge branch 'stable'
[gnulib.git] / tests / uninorm / test-nfc.c
index 7e7ce9c..6b9c654 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of canonical normalization of Unicode strings.
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009-2013 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include "uninorm.h"
 
+#if !WOE32DLL
 /* Check that UNINORM_NFC is defined and links.  */
 uninorm_t n = UNINORM_NFC;
+#endif
 
 extern void test_u8_nfc (void);
 extern void test_u16_nfc (void);
@@ -30,6 +32,10 @@ extern void test_u32_nfc (void);
 int
 main ()
 {
+  /* Check that UNINORM_NFC is defined and links.  */
+  uninorm_t nf = UNINORM_NFC;
+  (void) nf;
+
   test_u32_nfc ();
   test_u16_nfc ();
   test_u8_nfc ();