summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-07-27 18:44:06 (GMT)
committerEvan Martin <martine@danga.com>2012-07-27 18:44:06 (GMT)
commit9dd3f0dfdf42cc9eefc10664d747044f50a0ffd8 (patch)
tree45479fe2fd7b29023dc375c1fe6db0bdacd3265f /src/util.h
parentf7a22e3bc97fdeb87d930b7734680c481c6010bf (diff)
parent28c53397ed6876363a93e5a0ac3cd54ed66b662f (diff)
downloadNinja-9dd3f0dfdf42cc9eefc10664d747044f50a0ffd8.zip
Ninja-9dd3f0dfdf42cc9eefc10664d747044f50a0ffd8.tar.gz
Ninja-9dd3f0dfdf42cc9eefc10664d747044f50a0ffd8.tar.bz2
Merge branch 'set_terminate' of git://github.com/gmoudry/ninja into minidump
(This likely doesn't compile, just getting all the history in place.) Conflicts: src/util.cc
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 5caf644..fd91772 100644
--- a/src/util.h
+++ b/src/util.h
@@ -75,6 +75,13 @@ double GetLoadAverage();
#endif
#ifdef _WIN32
+
+/// Handler for __except block
+int exception_filter(unsigned int code, struct _EXCEPTION_POINTERS *ep);
+
+/// Write a windows minidump file in temp directory. User can specify null 'pep' argument.
+void Create_Win32_MiniDump( struct _EXCEPTION_POINTERS* pep );
+
/// Convert the value returned by GetLastError() into a string.
string GetLastErrorString();
#endif