From: Simon Josefsson Date: Mon, 14 Mar 2005 23:51:24 +0000 (+0000) Subject: Use proper prototype CPP guards, reported by Dave Love . X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb176ce9d08999e050354c96e3f068e9f6bc3448;p=pspp Use proper prototype CPP guards, reported by Dave Love . --- diff --git a/lib/timegm.h b/lib/timegm.h index 4d30b211f1..96a4dfc784 100644 --- a/lib/timegm.h +++ b/lib/timegm.h @@ -1,6 +1,6 @@ /* Convert UTC calendar time to simple time. Like mktime but assumes UTC. - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2005 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 @@ -18,6 +18,6 @@ #include -#ifndef HAVE_DECL_TIMEGM +#if defined HAVE_DECL_TIMEGM && !HAVE_DECL_TIMEGM time_t timegm (struct tm *tm); #endif