Mercurial > hg > octave-lyh > gnulib-hg
changeset 5702:77963efbc20d
Use proper prototype CPP guards, reported by Dave Love <fx@gnu.org>.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Mon, 14 Mar 2005 23:51:24 +0000 |
parents | 37123bca7528 |
children | b1e51243bfb4 |
files | lib/timegm.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <time.h> -#ifndef HAVE_DECL_TIMEGM +#if defined HAVE_DECL_TIMEGM && !HAVE_DECL_TIMEGM time_t timegm (struct tm *tm); #endif