X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Funinorm%2Ftest-nfkc.c;h=68474a8b2cebafc3ac104f6382fd2fe88061f1db;hb=3fdb706a2a7464a81025bfd07d06c867130f9f1f;hp=198c0f93b96c145704bbe1c58a0f7fced961e31d;hpb=8424f040f4bfc95e7448e62ac26ea028faf36480;p=gnulib.git diff --git a/tests/uninorm/test-nfkc.c b/tests/uninorm/test-nfkc.c index 198c0f93b..68474a8b2 100644 --- a/tests/uninorm/test-nfkc.c +++ b/tests/uninorm/test-nfkc.c @@ -1,5 +1,5 @@ /* Test of compatibility 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_NFKC is defined and links. */ uninorm_t n = UNINORM_NFKC; +#endif extern void test_u8_nfkc (void); extern void test_u16_nfkc (void); @@ -30,6 +32,10 @@ extern void test_u32_nfkc (void); int main () { + /* Check that UNINORM_NFKC is defined and links. */ + uninorm_t nf = UNINORM_NFKC; + (void) nf; + test_u32_nfkc (); test_u16_nfkc (); test_u8_nfkc ();