Only MSVC does not have sys/time.h

This commit is contained in:
Loo Rong Jie 2018-07-12 13:35:44 +08:00
parent be1e84b988
commit 37d45c0164

View file

@ -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>