NEWS.stable: log cherry-pick [872f360]->[8248d1a] Copyright: Use LGPL 2.1 instead...
[gnulib.git] / tests / uninorm / test-nfd.c
index 99580cb..045f1cc 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of canonical decomposition of Unicode strings.
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009-2011 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_NFD is defined and links.  */
 uninorm_t n = UNINORM_NFD;
+#endif
 
 extern void test_u8_nfd (void);
 extern void test_u16_nfd (void);
@@ -30,6 +32,10 @@ extern void test_u32_nfd (void);
 int
 main ()
 {
+  /* Check that UNINORM_NFD is defined and links.  */
+  uninorm_t nf = UNINORM_NFD;
+  (void) nf;
+
   test_u32_nfd ();
   test_u16_nfd ();
   test_u8_nfd ();