diff options
author | Jim Meyering <jim@meyering.net> | 2000-02-27 17:39:52 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-02-27 17:39:52 +0000 |
commit | 7a80c0cacc1d49d96c5f0eaf5de8c0b261c06339 (patch) | |
tree | af1714ffd36e1d4fe833be9eaa15cfa851b470f2 /lib | |
parent | c2f3af37bb0cf1a0c31307540b067b2ba3e930b6 (diff) | |
download | coreutils-7a80c0cacc1d49d96c5f0eaf5de8c0b261c06339.tar.xz |
Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
now that autoconf always defines the HAVE_DECL_ symbols.
Arrange for cpp to fail if the configure-time
declaration check was not run.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backupfile.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/backupfile.c b/lib/backupfile.c index 7f4da17fc..94f22deb6 100644 --- a/lib/backupfile.c +++ b/lib/backupfile.c @@ -1,5 +1,5 @@ /* backupfile.c -- make Emacs style backup file names - Copyright (C) 1990-1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1990-1997, 1998, 1999, 2000 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 @@ -65,6 +65,9 @@ char *malloc (); #endif #ifndef HAVE_DECL_GETENV +'this configure-time declaration test was not run' +#endif +#if !HAVE_DECL_GETENV char *getenv (); #endif |