diff --git a/examples/marmalade_example/marmalade_example.mkb b/examples/marmalade_example/marmalade_example.mkb index 75cb2538..9f8ea44a 100644 --- a/examples/marmalade_example/marmalade_example.mkb +++ b/examples/marmalade_example/marmalade_example.mkb @@ -13,7 +13,6 @@ define _snprintf=snprintf options { optimise-speed=1 - cxx11 } includepaths diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 166bb30a..13b47861 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -14,7 +14,7 @@ #include // sqrtf, fabsf, fmodf, powf, cosf, sinf, floorf, ceilf #include // vsnprintf, sscanf, printf -#if defined(_MSC_VER) +#ifdef _MSC_VER #pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen #define snprintf _snprintf #endif diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 1148ea99..09fcf015 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -26,7 +26,7 @@ #endif #endif -#if defined(_MSC_VER) +#ifdef _MSC_VER #pragma warning (disable: 4505) // unreferenced local function has been removed (stb stuff) #pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen #define snprintf _snprintf diff --git a/imgui_internal.h b/imgui_internal.h index ccd571fd..1fac4326 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -14,7 +14,7 @@ #include // FILE* #include // sqrtf() -#if defined(_MSC_VER) +#ifdef _MSC_VER #pragma warning (push) #pragma warning (disable: 4251) // class 'xxx' needs to have dll-interface to be used by clients of struct 'xxx' // when IMGUI_API is set to__declspec(dllexport) #endif @@ -698,6 +698,6 @@ namespace ImGui } // namespace ImGuiP -#if defined(_MSC_VER) +#ifdef _MSC_VER #pragma warning (pop) #endif