X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-iconv-h-c%2B%2B.cc;h=0a9a815033ff04674edd9136d6c69488b5d4001e;hb=refs%2Ftags%2Fstable%2F20120404;hp=f00758263fea15bcbd92f995ff4549ee102ad621;hpb=f62222b93a31806b29285fc66631a7f92c1f3fda;p=gnulib.git diff --git a/tests/test-iconv-h-c++.cc b/tests/test-iconv-h-c++.cc index f00758263..0a9a81503 100644 --- a/tests/test-iconv-h-c++.cc +++ b/tests/test-iconv-h-c++.cc @@ -1,5 +1,5 @@ /* Test of substitute in C++ mode. - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-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 @@ -22,20 +22,22 @@ #if HAVE_ICONV # include -# ifndef ICONV_CONST -# define ICONV_CONST /* empty */ -# endif - # include "signature.h" +#if GNULIB_TEST_ICONV SIGNATURE_CHECK (GNULIB_NAMESPACE::iconv_open, iconv_t, (const char *, const char *)); +#endif +#if GNULIB_TEST_ICONV SIGNATURE_CHECK (GNULIB_NAMESPACE::iconv, size_t, (iconv_t, ICONV_CONST char **, size_t *, char **, size_t *)); +#endif +#if GNULIB_TEST_ICONV SIGNATURE_CHECK (GNULIB_NAMESPACE::iconv_close, int, (iconv_t)); +#endif #endif