summaryrefslogtreecommitdiff
path: root/lang/nodejs14/patches/patch-src_node__postmortem__metadata.cc
blob: 29c66fdda9670dfae7acbe1b3e4215d311d5b9cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-src_node__postmortem__metadata.cc,v 1.1 2022/03/30 06:51:31 adam Exp $

--- src/node_postmortem_metadata.cc.orig	2018-03-23 20:05:49.909811719 +0000
+++ src/node_postmortem_metadata.cc
@@ -11,6 +11,10 @@
 #define NODEDBG_OFFSET(Class, Member, Type) \
     NODEDBG_SYMBOL(offset_ ## Class ## __ ## Member ## __ ## Type)
 
+// Some systems provide macros for the types as well, which get expanded
+// by the nested macros here.
+#undef uintptr_t
+
 // These are the constants describing Node internal structures. Every constant
 // should use the format described above.  These constants are declared as
 // global integers so that they'll be present in the generated node binary. They