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

Side by Side Diff: experimental/LightSymbolsUtil/lightsymbols/lightsymbols.h

Issue 99173003: Use lowercase windows.h in includes to fix Windows cross compilation using mingw. (Closed)
Patch Set: Created 7 years 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 unified diff | Download patch
« no previous file with comments | « bench/BenchSysTimer_windows.cpp ('k') | include/gpu/gl/SkNativeGLContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef __LIGHT_SYMBOLS__ 1 #ifndef __LIGHT_SYMBOLS__
2 #define __LIGHT_SYMBOLS__ 2 #define __LIGHT_SYMBOLS__
3 #define LS_TRACE(functionName,fileId,lineNumber) LightSymbol __lstr(functionName ,fileId,lineNumber); 3 #define LS_TRACE(functionName,fileId,lineNumber) LightSymbol __lstr(functionName ,fileId,lineNumber);
4 4
5 #include <stdio.h> 5 #include <stdio.h>
6 #include <string.h> 6 #include <string.h>
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 //#include <pthread.h> 9 //#include <pthread.h>
10 #include <Windows.h> 10 #include <windows.h>
11 11
12 typedef char* SZ; 12 typedef char* SZ;
13 13
14 #define LIGHT_SYMBOLS_FILE "LIGHT_SYMBOLS_FILE" 14 #define LIGHT_SYMBOLS_FILE "LIGHT_SYMBOLS_FILE"
15 15
16 class LightSymbol { 16 class LightSymbol {
17 const char* sym; 17 const char* sym;
18 int fileId; 18 int fileId;
19 int lineNumber; 19 int lineNumber;
20 20
(...skipping 20 matching lines...) Expand all
41 bool GetCallStackCore(char* sz, int len, const char* separator) const ; 41 bool GetCallStackCore(char* sz, int len, const char* separator) const ;
42 42
43 static LightSymbol* GetCurrentFrame() ; 43 static LightSymbol* GetCurrentFrame() ;
44 44
45 static void SetCurrentFrame(LightSymbol* ls) ; 45 static void SetCurrentFrame(LightSymbol* ls) ;
46 46
47 static const char* trim(char* sz) ; 47 static const char* trim(char* sz) ;
48 }; 48 };
49 49
50 #endif 50 #endif
OLDNEW
« no previous file with comments | « bench/BenchSysTimer_windows.cpp ('k') | include/gpu/gl/SkNativeGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698