utimens: cache whether utimensat syscall works
[pspp] / lib / close.c
index 0e56dcb27f7b2729d0d2dd7c87444704d2f44a55..5278f24bba531debd6a4d9d32926a90936ae4f7c 100644 (file)
@@ -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