Added C99 to the Windows and GTK+ cgo CFLAGS after Ian Taylor confirmed it was safe to use.
This commit is contained in:
parent
7ddc99fd7f
commit
19976849e1
|
@ -10,6 +10,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// #cgo pkg-config: gtk+-3.0
|
// #cgo pkg-config: gtk+-3.0
|
||||||
|
// #cgo CFLAGS: --std=c99
|
||||||
// #include "gtk_unix.h"
|
// #include "gtk_unix.h"
|
||||||
// extern gboolean doissue(gpointer data);
|
// extern gboolean doissue(gpointer data);
|
||||||
import "C"
|
import "C"
|
||||||
|
|
|
@ -8,6 +8,7 @@ import (
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// #cgo CFLAGS: --std=c99
|
||||||
// #cgo LDFLAGS: -luser32 -lkernel32 -lgdi32 -luxtheme -lmsimg32
|
// #cgo LDFLAGS: -luser32 -lkernel32 -lgdi32 -luxtheme -lmsimg32
|
||||||
// #include "winapi_windows.h"
|
// #include "winapi_windows.h"
|
||||||
import "C"
|
import "C"
|
||||||
|
|
Loading…
Reference in New Issue