about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/futimes.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-05-28 16:43:59 +0000
committerUlrich Drepper <drepper@redhat.com>2007-05-28 16:43:59 +0000
commit40f57573d02e98db90f7d9e1dae6c3422d150d7b (patch)
tree2b25b4dba22a7197fca16c8199a30f7aa0b1cf5b /sysdeps/unix/sysv/linux/futimes.c
parent991fa82be561407e9cfb42a328b2b56d5a9debf1 (diff)
downloadglibc-40f57573d02e98db90f7d9e1dae6c3422d150d7b.tar.gz
glibc-40f57573d02e98db90f7d9e1dae6c3422d150d7b.tar.xz
glibc-40f57573d02e98db90f7d9e1dae6c3422d150d7b.zip
* sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define
	if __NR_utimensat is not defined.
Diffstat (limited to 'sysdeps/unix/sysv/linux/futimes.c')
-rw-r--r--sysdeps/unix/sysv/linux/futimes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/futimes.c b/sysdeps/unix/sysv/linux/futimes.c
index 610f1deb29..272b83eb05 100644
--- a/sysdeps/unix/sysv/linux/futimes.c
+++ b/sysdeps/unix/sysv/linux/futimes.c
@@ -1,5 +1,5 @@
 /* futimes -- change access and modification times of open file.  Linux version.
-   Copyright (C) 2002,2003,2005,2006 Free Software Foundation, Inc.
+   Copyright (C) 2002,2003,2005,2006,2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@
 #include <kernel-features.h>
 
 
-#ifndef __ASSUME_UTIMENSAT
+#if defined __NR_utimensat && !defined __ASSUME_UTIMENSAT
 static int miss_utimensat;
 #endif