]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Use TIME_WITH_SYS_TIME-based #if test rather than
authorJim Meyering <jim@meyering.net>
Fri, 29 Jan 1999 04:58:32 +0000 (04:58 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 29 Jan 1999 04:58:32 +0000 (04:58 +0000)
TM_IN_SYS_TIME based one (for shred).

src/system.h

index 50159222869869e306b4ade7635ece58ef1fe6b4..4b56c15a3d9204b3e2fefbab8c2d070ebd579b89 100644 (file)
@@ -1,5 +1,5 @@
 /* system-dependent definitions for fileutils, textutils, and sh-utils packages.
-   Copyright (C) 89, 91, 92, 93, 94, 96, 97, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1989, 1991-1999 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
 
 #include "pathmax.h"
 
-#ifdef TM_IN_SYS_TIME
+#if TIME_WITH_SYS_TIME
 # include <sys/time.h>
-#else
 # include <time.h>
+#else
+# if HAVE_SYS_TIME_H
+#  include <sys/time.h>
+# else
+#  include <time.h>
+# endif
 #endif
 
 /* Since major is a function on SVR4, we can't use `ifndef major'.  */