X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=tests%2Ftest-time-c%2B%2B.cc;h=05cb4ed2b7a56d3ac65b0f3347f9921703a95cf6;hb=c50edd6462eaaae00f8549f9bad99d4e68b94376;hp=501345f145185ae268c20d9115ec3c510a207e9a;hpb=bab2788c97413229d3a49b65ca3f2fc9ad32377d;p=gnulib.git diff --git a/tests/test-time-c++.cc b/tests/test-time-c++.cc index 501345f14..05cb4ed2b 100644 --- a/tests/test-time-c++.cc +++ b/tests/test-time-c++.cc @@ -1,5 +1,5 @@ /* Test of substitute in C++ mode. - Copyright (C) 2010 Free Software Foundation, Inc. + Copyright (C) 2010-2013 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 @@ -24,27 +24,29 @@ #include "signature.h" -#if GNULIB_NANOSLEEP +#if GNULIB_TEST_NANOSLEEP SIGNATURE_CHECK (GNULIB_NAMESPACE::nanosleep, int, (struct timespec const *, struct timespec *)); #endif -#if GNULIB_MKTIME +#if GNULIB_TEST_MKTIME SIGNATURE_CHECK (GNULIB_NAMESPACE::mktime, time_t, (struct tm *)); #endif +#if GNULIB_TEST_TIME_R SIGNATURE_CHECK (GNULIB_NAMESPACE::localtime_r, struct tm *, (time_t const *, struct tm *)); SIGNATURE_CHECK (GNULIB_NAMESPACE::gmtime_r, struct tm *, (time_t const *, struct tm *)); +#endif -#if GNULIB_STRPTIME +#if GNULIB_TEST_STRPTIME SIGNATURE_CHECK (GNULIB_NAMESPACE::strptime, char *, (char const *, char const *, struct tm *)); #endif -#if GNULIB_TIMEGM +#if GNULIB_TEST_TIMEGM SIGNATURE_CHECK (GNULIB_NAMESPACE::timegm, time_t, (struct tm *)); #endif