mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Fixed windows compilation
This commit is contained in:
+3
-2
@@ -1,16 +1,17 @@
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)
|
||||
#include <io.h>
|
||||
#include <sys/utime.h>
|
||||
#include <nposix/dirent.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <utime.h>
|
||||
#include <dirent.h>
|
||||
#endif
|
||||
|
||||
#include "utils.h"
|
||||
|
||||
+1231
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user