mirror of https://github.com/KLayout/klayout.git
Fixed Windows build
This commit is contained in:
parent
5b60e2be90
commit
19ecf8866c
|
|
@ -25,27 +25,17 @@
|
|||
#include "tlLog.h"
|
||||
#include "tlString.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
||||
#if defined(_MSC_VER) || defined(_WIN32)
|
||||
# include <Windows.h>
|
||||
|
||||
#elif defined(_WIN32)
|
||||
|
||||
#elif defined(__MACH__)
|
||||
# include <mach/clock.h>
|
||||
# include <mach/mach.h>
|
||||
#else
|
||||
# include <sys/times.h>
|
||||
# include <Windows.h>
|
||||
#
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#if !defined(_MSC_VER) // not available on MS VC++
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if defined(__MACH__)
|
||||
# include <mach/clock.h>
|
||||
# include <mach/mach.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
|
||||
namespace tl
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue