X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Funinorm%2Ftest-nfkd.c;h=2f2d7ab95a9f36be9ec6399a80b608d22da607ac;hb=5dedf26dd50d9acd31d51cf068fdcf824e6bf25b;hp=d403042679362e698b0bae79d1aaf7031cce0df7;hpb=44feec35bee0811579125a511de1edc1bc077201;p=gnulib.git diff --git a/tests/uninorm/test-nfkd.c b/tests/uninorm/test-nfkd.c index d40304267..2f2d7ab95 100644 --- a/tests/uninorm/test-nfkd.c +++ b/tests/uninorm/test-nfkd.c @@ -1,5 +1,5 @@ /* Test of compatibility decomposition 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_NFKD is defined and links. */ uninorm_t n = UNINORM_NFKD; +#endif extern void test_u8_nfkd (void); extern void test_u16_nfkd (void); @@ -30,6 +32,10 @@ extern void test_u32_nfkd (void); int main () { + /* Check that UNINORM_NFKD is defined and links. */ + uninorm_t nf = UNINORM_NFKD; + (void) nf; + test_u32_nfkd (); test_u16_nfkd (); test_u8_nfkd ();