Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: tools/win_dbghelp.cpp

Issue 12421010: Try to fix Windows build (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/tools.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/win_dbghelp.cpp
===================================================================
--- tools/win_dbghelp.cpp (revision 8057)
+++ tools/win_dbghelp.cpp (working copy)
@@ -5,8 +5,6 @@
* found in the LICENSE file.
*/
-#ifdef SK_BUILD_FOR_WIN32
borenet 2013/03/08 23:13:21 Not needed with gyp guard.
-
#include "windows.h"
#include "win_dbghelp.h"
#include <process.h>
@@ -206,7 +204,7 @@
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 @@
setCdbPath(cdbExePath);
}
-#endif // SK_BUILD_FOR_WIN32
« no previous file with comments | « gyp/tools.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698