mirror of https://github.com/KLayout/klayout.git
MSVC compatibility
This commit is contained in:
parent
ce918bbc4e
commit
b0dac7026f
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
*/
|
||||
|
||||
#define NOMINMAX // for windows.h -> min/max not defined
|
||||
|
||||
#include "tlHttpStream.h"
|
||||
#include "tlHttpStreamCurl.h"
|
||||
#include "tlLog.h"
|
||||
|
|
@ -32,8 +34,12 @@
|
|||
#include "tlFileUtils.h"
|
||||
#include "tlUri.h"
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#if !defined(_MSC_VER)
|
||||
# include <sys/time.h>
|
||||
# include <unistd.h>
|
||||
#else
|
||||
# include <WinSock2.h>
|
||||
#endif
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
|
|
@ -43,6 +49,7 @@
|
|||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <algorithm>
|
||||
|
||||
// #define DEBUG_CURL 1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue