summaryrefslogtreecommitdiff
path: root/ninja/src/minidump-win32.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ninja/src/minidump-win32.cc')
-rw-r--r--ninja/src/minidump-win32.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/ninja/src/minidump-win32.cc b/ninja/src/minidump-win32.cc
index c79ec0e9cb2..c611919672a 100644
--- a/ninja/src/minidump-win32.cc
+++ b/ninja/src/minidump-win32.cc
@@ -12,12 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef NINJA_BOOTSTRAP
+#ifdef _MSC_VER
#include <windows.h>
#include <DbgHelp.h>
-
#include "util.h"
typedef BOOL (WINAPI *MiniDumpWriteDumpFunc) (
@@ -85,4 +84,4 @@ void CreateWin32MiniDump(_EXCEPTION_POINTERS* pep) {
Warning("minidump created: %s", temp_file);
}
-#endif // NINJA_BOOTSTRAP
+#endif // _MSC_VER