Skip to content

Commit 2d25776

Browse files
committed
Fix Windows build: add ts_runtime/src to include path for unicode headers
The vendored ICU-subset headers use "unicode/umachine.h" includes. Adding src/ to CFLAGS lets the compiler resolve these on Windows where no system ICU is available.
1 parent c2240dc commit 2d25776

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/cbm/cbm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cbm
22

33
/*
4-
#cgo CFLAGS: -std=c11 -D_DEFAULT_SOURCE -O2 -Wall -Ivendored/ts_runtime/include
4+
#cgo CFLAGS: -std=c11 -D_DEFAULT_SOURCE -O2 -Wall -Ivendored/ts_runtime/include -Ivendored/ts_runtime/src
55
#include "cbm.h"
66
#include "helpers.h"
77
#include "lang_specs.h"

0 commit comments

Comments
 (0)