update nearly all FSF copyright year lists to include 2010
[pspp] / tests / uninorm / test-nfd.c
index 99580cb338d71f9ce3fe531a19ba1d7cfe91dd2c..d89ba77d8a3f0722dffbc10d5f821e325d7fa2e1 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of canonical decomposition of Unicode strings.
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009, 2010 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 ();