OSDN Git Service

add crashrpt
[tortoisegit/TortoiseGitJp.git] / src / crashrpt / StdAfx.cpp
diff --git a/src/crashrpt/StdAfx.cpp b/src/crashrpt/StdAfx.cpp
new file mode 100644 (file)
index 0000000..3b3378d
--- /dev/null
@@ -0,0 +1,18 @@
+// stdafx.cpp : source file that includes just the standard includes\r
+//     CrashRpt.pch will be the pre-compiled header\r
+//     stdafx.obj will contain the pre-compiled type information\r
+\r
+#include "stdafx.h"\r
+\r
+\r
+//////////////////////////////////////////////////////////////////////\r
+// how shall addresses be formatted?\r
+//////////////////////////////////////////////////////////////////////\r
+\r
+const LPCTSTR addressFormat = sizeof (void*) <= 4\r
+       ? _T("0x%08x")\r
+       : _T("0x%016x");\r
+\r
+const LPCTSTR sizeFormat = _T("0x%08x");\r
+const LPCTSTR offsetFormat = _T("0x%x");\r
+\r