summaryrefslogtreecommitdiffstats
path: root/src/minidump-win32.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2014-11-18 16:04:23 (GMT)
committerEvan Martin <martine@danga.com>2014-11-18 17:05:58 (GMT)
commitba1ede49896316534b755f234a52fc182ed70347 (patch)
treea894dfd1efea76d00cb848310e628f9c2ed740d6 /src/minidump-win32.cc
parentbca80b12ff2702d0403c31ce34fca90ec7df2d28 (diff)
downloadNinja-ba1ede49896316534b755f234a52fc182ed70347.zip
Ninja-ba1ede49896316534b755f234a52fc182ed70347.tar.gz
Ninja-ba1ede49896316534b755f234a52fc182ed70347.tar.bz2
drop NINJA_BOOTSTRAP define
Diffstat (limited to 'src/minidump-win32.cc')
-rw-r--r--src/minidump-win32.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/minidump-win32.cc b/src/minidump-win32.cc
index c79ec0e..c611919 100644
--- a/src/minidump-win32.cc
+++ b/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