one more subtle bugfix
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Mon, 28 Feb 2022 01:54:29 +0000 (19:54 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Mon, 28 Feb 2022 01:54:29 +0000 (19:54 -0600)
modules/onyx_runtime/onyx_runtime.c

index 40eba1d3de2379e821399d5541e5ea149cfc7c24..231093a70c917ecf97aa400921a0589a550565db 100644 (file)
@@ -176,12 +176,6 @@ ONYX_DEF(__file_get_standard, (WASM_I32, WASM_I32), (WASM_I32)) {
 //
 // Directories
 //
-#ifdef _BH_WINDOWS
-typedef struct Windows_Directory_Opened {
-    HANDLE hndl;
-    WIN32_FIND_DATAA found_file;
-} Windows_Directory_Opened;
-#endif
 
 ONYX_DEF(__dir_open, (WASM_I32, WASM_I32, WASM_I32), (WASM_I32)) {
     char *path_ptr = ONYX_PTR(params->data[0].of.i32);