base: fix compile
This commit is contained in:
@@ -39,11 +39,14 @@ typedef CONST void *LPCVOID;
|
||||
#define CREATE_ALWAYS 2
|
||||
#define OPEN_EXISTING 3
|
||||
|
||||
#define FILE_ATTRIBUTE_NORMAL 0x00000080
|
||||
#define INVALID_HANDLE_VALUE ((HANDLE)(LONG_PTR) - 1)
|
||||
#define FILE_BEGIN 0
|
||||
#define FILE_CURRENT 1
|
||||
#define MAX_PATH 260
|
||||
#define FILE_ATTRIBUTE_HIDDEN 0x00000002
|
||||
#define FILE_ATTRIBUTE_DIRECTORY 0x00000010
|
||||
#define FILE_ATTRIBUTE_NORMAL 0x00000080
|
||||
#define INVALID_FILE_ATTRIBUTES ((DWORD) - 1)
|
||||
#define INVALID_HANDLE_VALUE ((HANDLE)(LONG_PTR) - 1)
|
||||
#define FILE_BEGIN 0
|
||||
#define FILE_CURRENT 1
|
||||
#define MAX_PATH 260
|
||||
|
||||
typedef struct _SECURITY_ATTRIBUTES {
|
||||
DWORD nLength;
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
|
||||
i32 iron_sys_command(char *cmd);
|
||||
extern char temp_string[1024 * 128];
|
||||
#ifdef IRON_WINDOWS
|
||||
extern wchar_t temp_wstring[1024 * 32];
|
||||
#endif
|
||||
|
||||
static char *fileslocation = NULL;
|
||||
#ifdef IRON_WINDOWS
|
||||
|
||||
Reference in New Issue
Block a user