Move SUPPORT_ATIMES to rsync.h.
authorWayne Davison <wayne@opencoder.net>
Mon, 3 Aug 2020 20:27:00 +0000 (13:27 -0700)
committerWayne Davison <wayne@opencoder.net>
Mon, 3 Aug 2020 20:27:00 +0000 (13:27 -0700)
options.c
rsync.h

index 1857f70a2f6fb6145e857236256e2a1903b46e5c..a9f0dc9eaaf74791f92ab71b763b46f09b142335 100644 (file)
--- a/options.c
+++ b/options.c
@@ -192,10 +192,6 @@ const char **remote_options = NULL;
 const char *checksum_choice = NULL;
 const char *compress_choice = NULL;
 
-#ifndef __APPLE__ /* Do we need a configure check for this? */
-#define SUPPORT_ATIMES 1
-#endif
-
 int quiet = 0;
 int output_motd = 1;
 int log_before_transfer = 0;
diff --git a/rsync.h b/rsync.h
index b8bdd786234f72a5ad90e3380173e2ad9649b852..c688f09cf0bb00e27f6e01b554d59e8348d5ed0c 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -570,6 +570,10 @@ typedef unsigned int size_t;
 #endif
 #endif
 
+#ifndef __APPLE__ /* Do we need a configure check for this? */
+#define SUPPORT_ATIMES 1
+#endif
+
 #ifdef HAVE_GETATTRLIST
 #define SUPPORT_CRTIMES 1
 #endif