X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fclose.c;h=afa8f64058cb9dd16f1135bcf06131993c2c221a;hb=692a15c587c6d741cba6423319efcc957c45c9cb;hp=0e56dcb27f7b2729d0d2dd7c87444704d2f44a55;hpb=d9576a558fefb2660292e7d4baccd23ea67ecf47;p=gnulib.git diff --git a/lib/close.c b/lib/close.c index 0e56dcb27..afa8f6405 100644 --- a/lib/close.c +++ b/lib/close.c @@ -1,5 +1,5 @@ /* close replacement. - Copyright (C) 2008-2009 Free Software Foundation, Inc. + Copyright (C) 2008-2010 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 @@ -33,7 +33,7 @@ rpl_close (int fd) int retval = close (fd); #endif -#ifdef FCHDIR_REPLACEMENT +#if REPLACE_FCHDIR if (retval >= 0) _gl_unregister_fd (fd); #endif