X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Funinorm%2Ftest-nfd.c;h=045f1ccf5f16f41b72a57e3565edce91fc42d864;hb=1bb384c44db25aef8f8b455cef22af32d8401abc;hp=99580cb338d71f9ce3fe531a19ba1d7cfe91dd2c;hpb=29d6db73db13da13b1b1dd6a2635d3cc16effab0;p=gnulib.git diff --git a/tests/uninorm/test-nfd.c b/tests/uninorm/test-nfd.c index 99580cb33..045f1ccf5 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-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 @@ -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 ();