X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Funinorm%2Ftest-nfc.c;h=4f30e0fee83c073f1645b76cf01e3f149c526a54;hb=308c394b3c4ee0bc13826b381b9f0668481c4a0f;hp=7e7ce9c5c1c8ca5fc593c4796539400611ba8f07;hpb=bda22ddb917fc5764b51a693ef6a888462aa6301;p=gnulib.git diff --git a/tests/uninorm/test-nfc.c b/tests/uninorm/test-nfc.c index 7e7ce9c5c..4f30e0fee 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-2012 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 ();