about summary refs log tree commit diff
path: root/absl/time/time.h
diff options
context:
space:
mode:
authorLoo Rong Jie <loorongjie@gmail.com>2018-07-12T05·35+0800
committerLoo Rong Jie <loorongjie@gmail.com>2018-07-12T05·35+0800
commit37d45c0164671963051320598ee8421b87506283 (patch)
treeb6e896965a1be96486f43c5faa7edee16ce00e6c /absl/time/time.h
parentbe1e84b988fceabcea4fc9e93f899539f0c81901 (diff)
Only MSVC does not have sys/time.h
Diffstat (limited to 'absl/time/time.h')
-rw-r--r--absl/time/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/time/time.h b/absl/time/time.h
index ceec2de7cd29..880fc783ae4a 100644
--- a/absl/time/time.h
+++ b/absl/time/time.h
@@ -50,7 +50,7 @@
 #ifndef ABSL_TIME_TIME_H_
 #define ABSL_TIME_TIME_H_
 
-#if !defined(_WIN32)
+#if !defined(_MSC_VER)
 #include <sys/time.h>
 #else
 #include <winsock2.h>