File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 44// -------------------------------------------------------------------------------------------------------
55#include " stdafx.h"
66
7+ #include < sys/stat.h>
8+
79// TODO: x-plat definitions
810#ifdef _WIN32
911typedef char16 TTDHostCharType;
@@ -112,8 +114,6 @@ JsTTDStreamHandle TTDHostOpen(const TTDHostCharType* path, bool isWrite)
112114#include < libgen.h>
113115#include < dirent.h>
114116
115- #include < sys/stat.h>
116-
117117typedef utf8char_t TTDHostCharType;
118118typedef struct dirent * TTDHostFileInfo;
119119typedef DIR* TTDHostFindHandle;
@@ -193,7 +193,7 @@ JsTTDStreamHandle TTDHostOpen(const TTDHostCharType* path, bool isWrite)
193193
194194#ifdef __APPLE__
195195#define TTDHostCWD (dst ) nullptr
196- #define TTDDoPathInit (dst )
196+ #define TTDDoPathInit (dst )
197197#define TTDHostTok (opath, TTDHostPathSeparator, context ) nullptr
198198#define TTDHostStat (cpath, statVal ) 0
199199
@@ -203,7 +203,7 @@ JsTTDStreamHandle TTDHostOpen(const TTDHostCharType* path, bool isWrite)
203203
204204#define TTDHostFindFirst (strPattern, FileInformation ) nullptr
205205#define TTDHostFindNext (hFile, FileInformation ) TTDHostFindInvalid
206- #define TTDHostFindClose (hFile )
206+ #define TTDHostFindClose (hFile )
207207
208208#define TTDHostDirInfoName (FileInformation ) ((const TTDHostCharType*)" \0 " )
209209
You can’t perform that action at this time.
0 commit comments