diff --git a/project/Build.xml b/project/Build.xml index 42f84fedc..aaa0f08c9 100644 --- a/project/Build.xml +++ b/project/Build.xml @@ -23,9 +23,9 @@ - - + + @@ -36,7 +36,7 @@ - + diff --git a/project/src/ExternalInterface.cpp b/project/src/ExternalInterface.cpp index 48aa00dce..1ab94b197 100644 --- a/project/src/ExternalInterface.cpp +++ b/project/src/ExternalInterface.cpp @@ -704,7 +704,6 @@ namespace lime { HL_PRIM vbyte* hl_lime_file_dialog_open_directory (hl_vstring* title, hl_vstring* filter, hl_vstring* defaultPath) { - #ifndef EMSCRIPTEN #ifdef LIME_TINYFILEDIALOGS std::wstring* _title = hxstring_to_wstring (title); @@ -732,7 +731,6 @@ namespace lime { } - #endif #endif return NULL; @@ -775,7 +773,6 @@ namespace lime { HL_PRIM vbyte* hl_lime_file_dialog_open_file (hl_vstring* title, hl_vstring* filter, hl_vstring* defaultPath) { - #ifndef EMSCRIPTEN #ifdef LIME_TINYFILEDIALOGS std::wstring* _title = hxstring_to_wstring (title); @@ -803,7 +800,6 @@ namespace lime { } - #endif #endif return NULL; @@ -846,7 +842,6 @@ namespace lime { HL_PRIM hl_varray* hl_lime_file_dialog_open_files (hl_vstring* title, hl_vstring* filter, hl_vstring* defaultPath) { - #ifndef EMSCRIPTEN #ifdef LIME_TINYFILEDIALOGS std::wstring* _title = hxstring_to_wstring (title); @@ -877,7 +872,6 @@ namespace lime { #else hl_varray* result = hl_alloc_array (&hlt_bytes, 0); #endif - #endif return result; @@ -919,7 +913,6 @@ namespace lime { HL_PRIM vbyte* hl_lime_file_dialog_save_file (hl_vstring* title, hl_vstring* filter, hl_vstring* defaultPath) { - #ifndef EMSCRIPTEN #ifdef LIME_TINYFILEDIALOGS std::wstring* _title = hxstring_to_wstring (title); @@ -947,7 +940,6 @@ namespace lime { } - #endif #endif return NULL;