Skip to content

Commit 51c94ef

Browse files
lfittlguileen
andauthored
Fix xxhash symbol conflict by using namespace (#144)
Co-authored-by: Gui Lin <[email protected]>
1 parent b905b5e commit 51c94ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎parser/parser.go‎

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

33
/*
4-
#cgo CFLAGS: -Iinclude -Iinclude/postgres -g -fstack-protector -std=gnu99 -Wno-unknown-warning-option -Wno-typedef-redefinition
4+
#cgo CFLAGS: -Iinclude -Iinclude/postgres -g -fstack-protector -std=gnu99 -Wno-unknown-warning-option -Wno-typedef-redefinition -DXXH_NAMESPACE=PG_QUERY_
55
#cgo windows CFLAGS: -Iinclude/postgres/port/win32
66
#cgo LDFLAGS:
77
#include "pg_query.h"

0 commit comments

Comments
 (0)