base: fix compile

This commit is contained in:
luboslenco
2026-03-02 08:39:44 +01:00
parent 06846de000
commit 00853b7de3
2 changed files with 11 additions and 5 deletions
+8 -5
View File
@@ -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;
+3
View File
@@ -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