diff options
author | borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-08 23:13:33 +0000 |
---|---|---|
committer | borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-08 23:13:33 +0000 |
commit | 2d137b6f8a29bf99c810aef35af6ba4ffc39932d (patch) | |
tree | abf1b91f85819852af9424ed057ed3060b3357c9 /tools/win_dbghelp.cpp | |
parent | 663a97912921f74c081d2b5184c151742cc00393 (diff) |
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
Diffstat (limited to 'tools/win_dbghelp.cpp')
-rw-r--r-- | tools/win_dbghelp.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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 <process.h> @@ -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 |