X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Funinorm%2Ftest-nfd.c;h=d89ba77d8a3f0722dffbc10d5f821e325d7fa2e1;hb=94012b4fafb086f608e12e3f44ddf0202f418e6d;hp=99580cb338d71f9ce3fe531a19ba1d7cfe91dd2c;hpb=29d6db73db13da13b1b1dd6a2635d3cc16effab0;p=gnulib.git diff --git a/tests/uninorm/test-nfd.c b/tests/uninorm/test-nfd.c index 99580cb33..d89ba77d8 100644 --- a/tests/uninorm/test-nfd.c +++ b/tests/uninorm/test-nfd.c @@ -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 @@ -20,8 +20,10 @@ #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 ();