diff options
author | Loo Rong Jie <loorongjie@gmail.com> | 2018-07-12 13:35:44 +0800 |
---|---|---|
committer | Loo Rong Jie <loorongjie@gmail.com> | 2018-07-12 13:35:44 +0800 |
commit | 37d45c0164671963051320598ee8421b87506283 (patch) | |
tree | b6e896965a1be96486f43c5faa7edee16ce00e6c /absl/time | |
parent | be1e84b988fceabcea4fc9e93f899539f0c81901 (diff) |
Only MSVC does not have sys/time.h
Diffstat (limited to 'absl/time')
-rw-r--r-- | absl/time/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/time/time.h b/absl/time/time.h index ceec2de7..880fc783 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> |