summaryrefslogtreecommitdiff
path: root/tests/uninorm/test-nfkc.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-04-20 04:27:37 +0200
committerBruno Haible <bruno@clisp.org>2009-04-20 04:27:37 +0200
commitf0a6311ce0751b7dda38d15ba093323ec7a5fd2b (patch)
treed8664d0a05f1c0d818b23d314c687ba3f25df9f8 /tests/uninorm/test-nfkc.c
parent093fdeb9dc52edd6ce91275576addcddb68b1fde (diff)
downloadgnulib-f0a6311ce0751b7dda38d15ba093323ec7a5fd2b.tar.gz
Support for building a shared library on Windows platforms.
Diffstat (limited to 'tests/uninorm/test-nfkc.c')
-rw-r--r--tests/uninorm/test-nfkc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/uninorm/test-nfkc.c b/tests/uninorm/test-nfkc.c
index 198c0f93b9..2e57a15e18 100644
--- a/tests/uninorm/test-nfkc.c
+++ b/tests/uninorm/test-nfkc.c
@@ -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 ();