X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Funinorm%2Ftest-nfkd.c;h=cb8a2dfd1fd0f03f1c1e12e40e6176675f3e3f95;hb=de9f4b1;hp=d403042679362e698b0bae79d1aaf7031cce0df7;hpb=44feec35bee0811579125a511de1edc1bc077201;p=gnulib.git diff --git a/tests/uninorm/test-nfkd.c b/tests/uninorm/test-nfkd.c index d40304267..cb8a2dfd1 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, 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_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 ();