X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Funinorm%2Ftest-nfc.c;h=ca957102f4c4710180ff3dd8a9976cad7ecd1262;hb=4e42b89b090f61e189e7161a3f096cabc832b6d3;hp=7e7ce9c5c1c8ca5fc593c4796539400611ba8f07;hpb=bda22ddb917fc5764b51a693ef6a888462aa6301;p=gnulib.git diff --git a/tests/uninorm/test-nfc.c b/tests/uninorm/test-nfc.c index 7e7ce9c5c..ca957102f 100644 --- a/tests/uninorm/test-nfc.c +++ b/tests/uninorm/test-nfc.c @@ -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 ();