diff options
Diffstat (limited to 'c/main.cpp')
-rw-r--r-- | c/main.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -12,7 +12,7 @@ #include "test.h" #include "util.h" -#ifdef DEBUG +#ifdef _DEBUG #define XMAIN 30 #define YMAIN 30 #else @@ -79,7 +79,11 @@ static INT_PTR CALLBACK AboutDlgProc(HWND, UINT, WPARAM, LPARAM); /* Try to style application according to current Windows theme. */ static void UpdateTheme(); -int WINAPI WinMain(const HINSTANCE hInstance, const HINSTANCE, char* const, const int nCmdShow) +int WINAPI WinMain( + _In_ const HINSTANCE hInstance, + _In_opt_ const HINSTANCE, + _In_ char* const, + _In_ const int nCmdShow) { setbuf(stdout, nullptr); LIBXML_TEST_VERSION; @@ -129,7 +133,7 @@ int WINAPI WinMain(const HINSTANCE hInstance, const HINSTANCE, char* const, cons g_elv->Update(); g_elv->RestoreFocus(); -#ifdef DEBUG +#ifdef _DEBUG RunTests(); #endif |