Skip to content

Commit 3d6bad0

Browse files
committed
Update: use gnu99 default in gcc15
1 parent 25c4db0 commit 3d6bad0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ package hook
1414
#cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations
1515
#cgo darwin LDFLAGS: -framework Cocoa
1616
17-
#cgo linux CFLAGS:-I/usr/src -std=gnu17
17+
#cgo linux CFLAGS:-I/usr/src -std=gnu99
1818
#cgo linux LDFLAGS: -L/usr/src -lX11 -lXtst
1919
#cgo linux LDFLAGS: -lX11-xcb -lxcb -lxcb-xkb -lxkbcommon -lxkbcommon-x11
2020
//#cgo windows LDFLAGS: -lgdi32 -luser32

0 commit comments

Comments
 (0)