X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-time-c%2B%2B.cc;h=b4ed33bccdcace3c25ef7794f9e81fa05aba1ab3;hb=a99c0f83b06bee0d89e1a409fe2759207b7cf480;hp=bb6fd20b90d5289c0aab84401db372db9ea468b0;hpb=a8c2b3083dcaff29eb1c34e1901fae3f7858d3aa;p=gnulib.git diff --git a/tests/test-time-c++.cc b/tests/test-time-c++.cc index bb6fd20b9..b4ed33bcc 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-2011 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