X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Funinorm%2Ftest-nfc.c;h=6fd86d84d023b4cc9830857d106916f4263cb846;hb=94012b4fafb086f608e12e3f44ddf0202f418e6d;hp=7e7ce9c5c1c8ca5fc593c4796539400611ba8f07;hpb=bda22ddb917fc5764b51a693ef6a888462aa6301;p=gnulib.git diff --git a/tests/uninorm/test-nfc.c b/tests/uninorm/test-nfc.c index 7e7ce9c5c..6fd86d84d 100644 --- a/tests/uninorm/test-nfc.c +++ b/tests/uninorm/test-nfc.c @@ -1,5 +1,5 @@ /* Test of canonical normalization 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_NFC is defined and links. */ uninorm_t n = UNINORM_NFC; +#endif extern void test_u8_nfc (void); extern void test_u16_nfc (void); @@ -30,6 +32,10 @@ extern void test_u32_nfc (void); int main () { + /* Check that UNINORM_NFC is defined and links. */ + uninorm_t nf = UNINORM_NFC; + (void) nf; + test_u32_nfc (); test_u16_nfc (); test_u8_nfc ();