mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-14 13:15:14 +03:00
Minor build fixes.
This commit is contained in:
@@ -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)))))
|
||||
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user