OSDN Git Service

Mac only has ::futimes() and not ::futimens().
authorStephen Hines <srhines@google.com>
Tue, 13 Aug 2013 09:43:02 +0000 (02:43 -0700)
committerStephen Hines <srhines@google.com>
Tue, 13 Aug 2013 09:43:02 +0000 (02:43 -0700)
Change-Id: I61d7aab308971e632e01c649a8c2b503e851dadc

host/include/llvm/Config/config.h

index 7ac1565..bb93b37 100644 (file)
 /* Define to 1 if you have the `fmodf' function. */
 #define HAVE_FMODF 1
 
+#ifdef __APPLE__
+/* Define to 1 if you have the `futimes' function. */
+#define HAVE_FUTIMES 1
+#else
 /* Define to 1 if you have the `futimens' function. */
 #define HAVE_FUTIMENS 1
+#endif  // __APPLE__
 
 /* Define to 1 if you have the `getcwd' function. */
 #define HAVE_GETCWD 1