Skip to content

Commit 271baca

Browse files
authored
Change simdutf symbols in Node to avoid conflict with V8 (#216)
1 parent bf39ccb commit 271baca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/simdutf/simdutf.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#define SIMDUTF_H
55
#include <cstring>
66

7+
// Rename namespace to avoid conflict with simdutf from V8.
8+
#define simdutf node_simdutf
9+
710
/* begin file include/simdutf/compiler_check.h */
811
#ifndef SIMDUTF_COMPILER_CHECK_H
912
#define SIMDUTF_COMPILER_CHECK_H

0 commit comments

Comments
 (0)