Use proper prototype CPP guards, reported by Dave Love <fx@gnu.org>.
authorSimon Josefsson <simon@josefsson.org>
Mon, 14 Mar 2005 23:51:24 +0000 (23:51 +0000)
committerSimon Josefsson <simon@josefsson.org>
Mon, 14 Mar 2005 23:51:24 +0000 (23:51 +0000)
lib/timegm.h

index 4d30b211f1e639b7f59f6b2a011baa68e6988783..96a4dfc784b078153e7310ab33c184180c40ecd1 100644 (file)
@@ -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