maint: update copyright
[gnulib.git] / tests / uninorm / test-nfkd.c
index d403042..6c47762 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of compatibility decomposition of Unicode strings.
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009-2014 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_NFKD is defined and links.  */
 uninorm_t n = UNINORM_NFKD;
+#endif
 
 extern void test_u8_nfkd (void);
 extern void test_u16_nfkd (void);
@@ -30,6 +32,10 @@ extern void test_u32_nfkd (void);
 int
 main ()
 {
+  /* Check that UNINORM_NFKD is defined and links.  */
+  uninorm_t nf = UNINORM_NFKD;
+  (void) nf;
+
   test_u32_nfkd ();
   test_u16_nfkd ();
   test_u8_nfkd ();