Files
MINGW-packages/mingw-w64-nodejs/0003-Include-win32-headers.h-in-v8-atomicops.h.patch
Alethea Rose 2a7b363e05 Node LTS 6.9.5 (#2211)
* Update http-parser to v2.7.1

* Update nodejs to v6.9.5

* Add npm as its own package at v4.3.0

* Tidy nodejs and npm PKGBUILDS
2017-02-25 21:41:43 +03:00

28 lines
827 B
Diff

From 035aaa413ba2d015da95154fcf00e8ba4a157a7a Mon Sep 17 00:00:00 2001
From: Alethea Rose <alethea@alethearose.com>
Date: Tue, 14 Feb 2017 22:26:28 -0500
Subject: [PATCH 3/8] Include win32-headers.h in v8/atomicops.h
---
deps/v8/src/base/atomicops.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/deps/v8/src/base/atomicops.h b/deps/v8/src/base/atomicops.h
index ea33e48..ac759ad 100644
--- a/deps/v8/src/base/atomicops.h
+++ b/deps/v8/src/base/atomicops.h
@@ -28,6 +28,10 @@
#include <stdint.h>
#include "src/base/build_config.h"
+#if defined(_WIN32)
+#include "win32-headers.h"
+#endif
+
#if defined(_WIN32) && defined(V8_HOST_ARCH_64_BIT)
// windows.h #defines this (only on x64). This causes problems because the
// public API also uses MemoryBarrier at the public name for this fence. So, on
--
2.11.0