diff options
author | Xiaoyi Zhang <zhangxy988@gmail.com> | 2018-07-13T18·13-0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13T18·13-0400 |
commit | a5030ca5125b9d557ecfeea8acc8b1a8e49f6d27 (patch) | |
tree | df6195ac9c2f5ab7cf0d63d01d42e3e9e0d40bab /absl/time | |
parent | 02687955b7ca8fc02ada9b14bc247deeb108d341 (diff) | |
parent | 37d45c0164671963051320598ee8421b87506283 (diff) |
Merge pull request #144 from rongjiecomputer/winsock2
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 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> |