summaryrefslogtreecommitdiffstats
path: root/ninja/src/timestamp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ninja/src/timestamp.h')
-rw-r--r--ninja/src/timestamp.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/ninja/src/timestamp.h b/ninja/src/timestamp.h
index 6a7ccd0b068..cee7ba8f21b 100644
--- a/ninja/src/timestamp.h
+++ b/ninja/src/timestamp.h
@@ -15,19 +15,10 @@
#ifndef NINJA_TIMESTAMP_H_
#define NINJA_TIMESTAMP_H_
-#ifdef _WIN32
-#include "win32port.h"
-#else
-#ifndef __STDC_FORMAT_MACROS
-#define __STDC_FORMAT_MACROS
-#endif
-#include <inttypes.h>
-#endif
-
// When considering file modification times we only care to compare
// them against one another -- we never convert them to an absolute
-// real time. On POSIX we use timespec (seconds&nanoseconds since epoch)
-// and on Windows we use a different value. Both fit in an int64.
-typedef int64_t TimeStamp;
+// real time. On POSIX we use time_t (seconds since epoch) and on
+// Windows we use a different value. Both fit in an int.
+typedef int TimeStamp;
#endif // NINJA_TIMESTAMP_H_