mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
chore: bump node to v12.14.1 (master) (#21703)
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
committed by
Shelley Vohr
parent
f5e202a898
commit
cfae97a64c
23
patches/node/fix_include_libuv_header_in_node_binding.patch
Normal file
23
patches/node/fix_include_libuv_header_in_node_binding.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Shelley Vohr <shelley.vohr@gmail.com>
|
||||
Date: Wed, 8 Jan 2020 12:54:07 -0800
|
||||
Subject: fix: include libuv header in node_binding
|
||||
|
||||
The libuv header uv.h was removed in
|
||||
https://github.com/nodejs/node/commit/3bb085dbad4d23030c731834e35b2804c8a50b23,
|
||||
but is necessary for Windows to understand what uv_lib_t is.
|
||||
|
||||
Upstreamed in https://github.com/nodejs/node/pull/31265.
|
||||
|
||||
diff --git a/src/node_binding.h b/src/node_binding.h
|
||||
index cefb6419ebb7f5c5c79927d179eef0a790e234ad..5bced5b41431dc7838d1a30774a1a41ff797290e 100644
|
||||
--- a/src/node_binding.h
|
||||
+++ b/src/node_binding.h
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "node.h"
|
||||
#define NAPI_EXPERIMENTAL
|
||||
#include "node_api.h"
|
||||
+#include "uv.h"
|
||||
|
||||
enum {
|
||||
NM_F_BUILTIN = 1 << 0, // Unused.
|
||||
Reference in New Issue
Block a user