X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-time-c%2B%2B.cc;h=05cb4ed2b7a56d3ac65b0f3347f9921703a95cf6;hb=c50edd6462eaaae00f8549f9bad99d4e68b94376;hp=bb6fd20b90d5289c0aab84401db372db9ea468b0;hpb=a8c2b3083dcaff29eb1c34e1901fae3f7858d3aa;p=gnulib.git diff --git a/tests/test-time-c++.cc b/tests/test-time-c++.cc index bb6fd20b9..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,16 +24,16 @@ #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_TIME_R +#if GNULIB_TEST_TIME_R SIGNATURE_CHECK (GNULIB_NAMESPACE::localtime_r, struct tm *, (time_t const *, struct tm *)); @@ -41,12 +41,12 @@ 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