Mercurial > hg > openttd
diff src/win32.cpp @ 6248:0789677a15a0 draft
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
author | rubidium <rubidium@openttd.org> |
---|---|
date | Wed, 07 Mar 2007 12:11:48 +0000 |
parents | 57363e064324 |
children | 9953c75f16bc |
line wrap: on
line diff
--- a/src/win32.cpp +++ b/src/win32.cpp @@ -100,11 +100,11 @@ static bool _did_emerg_save; static int _ident; -typedef struct DebugFileInfo { +struct DebugFileInfo { uint32 size; uint32 crc32; SYSTEMTIME file_time; -} DebugFileInfo; +}; static uint32 *_crc_table; @@ -230,14 +230,14 @@ /* Disable the crash-save submit code as it's not used */ #if 0 -typedef struct { +struct WinInetProcs { HINTERNET (WINAPI *InternetOpen)(LPCTSTR,DWORD, LPCTSTR, LPCTSTR, DWORD); HINTERNET (WINAPI *InternetConnect)(HINTERNET, LPCTSTR, INTERNET_PORT, LPCTSTR, LPCTSTR, DWORD, DWORD, DWORD); HINTERNET (WINAPI *HttpOpenRequest)(HINTERNET, LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR, LPCTSTR *, DWORD, DWORD); BOOL (WINAPI *HttpSendRequest)(HINTERNET, LPCTSTR, DWORD, LPVOID, DWORD); BOOL (WINAPI *InternetCloseHandle)(HINTERNET); BOOL (WINAPI *HttpQueryInfo)(HINTERNET, DWORD, LPVOID, LPDWORD, LPDWORD); -} WinInetProcs; +}; #define M(x) x "\0" #if defined(UNICODE)