From 2d137b6f8a29bf99c810aef35af6ba4ffc39932d Mon Sep 17 00:00:00 2001 From: "borenet@google.com" Date: Fri, 8 Mar 2013 23:13:33 +0000 Subject: Fix Windows build - revert r8056 and r8057 TBR=epoger,edisonn Review URL: https://codereview.chromium.org/12421010 git-svn-id: http://skia.googlecode.com/svn/trunk@8058 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tools/win_dbghelp.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tools/win_dbghelp.cpp') diff --git a/tools/win_dbghelp.cpp b/tools/win_dbghelp.cpp index cd215ff89b..4102399a4f 100644 --- a/tools/win_dbghelp.cpp +++ b/tools/win_dbghelp.cpp @@ -5,8 +5,6 @@ * found in the LICENSE file. */ -#ifdef SK_BUILD_FOR_WIN32 - #include "windows.h" #include "win_dbghelp.h" #include @@ -206,7 +204,7 @@ int GenerateDumpAndPrintCallstack(EXCEPTION_POINTERS* pExceptionPointers) { void setUpDebuggingFromArgs(const char* vargs0) { int i = strlen(vargs0); - if (i >= 4 && stricmp(vargs0 - 4, ".exe") == 0) { + if (i >= 4 && _stricmp(vargs0 - 4, ".exe") == 0) { // Ignore .exe i -= 4; } @@ -244,4 +242,3 @@ void setUpDebuggingFromArgs(const char* vargs0) { setCdbPath(cdbExePath); } -#endif // SK_BUILD_FOR_WIN32 -- cgit v1.2.3