Minor build fixes.

This commit is contained in:
Martín Lucas Golini
2023-11-05 21:01:04 -03:00
parent 50e24f6a99
commit 38aa60eaa3
3 changed files with 5 additions and 2 deletions

View File

@@ -64,7 +64,8 @@ CORE_SRCS := tools/ecode/*.cpp \
tools/ecode/plugins/autocomplete/*.cpp \
tools/ecode/plugins/linter/*.cpp \
tools/ecode/plugins/formatter/*.cpp \
tools/ecode/plugins/lsp/*.cpp
tools/ecode/plugins/lsp/*.cpp \
tools/ecode/plugins/xmltools/*.cpp
LOCAL_SRC_FILES := $(SDL_MAIN_PATH) $(foreach F, $(CORE_SRCS), $(addprefix $(dir $(F)),$(notdir $(wildcard $(LOCAL_PATH)/$(F)))))

View File

@@ -1153,7 +1153,7 @@ bool Sys::windowAttachConsole() {
#if EE_PLATFORM == EE_PLATFORM_WIN
static void windowsSystem( const std::string& programPath ) {
STARTUPINFO si;
STARTUPINFOW si;
PROCESS_INFORMATION pi;
ZeroMemory( &si, sizeof( si ) );
si.cb = sizeof( si );

View File

@@ -784,6 +784,7 @@ void WindowSDL::raise() {
void WindowSDL::flash( WindowFlashOperation op ) {
#if EE_PLATFORM != EE_PLATFORM_EMSCRIPTEN
#if SDL_VERSION_ATLEAST( 2, 0, 16 )
SDL_FlashOperation sdlOp = SDL_FlashOperation::SDL_FLASH_BRIEFLY;
if ( op == WindowFlashOperation::Cancel )
sdlOp = SDL_FlashOperation::SDL_FLASH_CANCEL;
@@ -791,6 +792,7 @@ void WindowSDL::flash( WindowFlashOperation op ) {
sdlOp = SDL_FlashOperation::SDL_FLASH_UNTIL_FOCUSED;
SDL_FlashWindow( mSDLWindow, sdlOp );
#endif
#endif
}
void WindowSDL::show() {