diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-14 10:26:09 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-14 10:26:09 -0400 |
| commit | 19976849e168cb2faa6cfb73517cd7c762430f6f (patch) | |
| tree | d39c471b44520dfe7419f8307ae4982ac7f77881 | |
| parent | 7ddc99fd7fe36184b8b29388fde412faeee7dac5 (diff) | |
Added C99 to the Windows and GTK+ cgo CFLAGS after Ian Taylor confirmed it was safe to use.
| -rw-r--r-- | redo/uitask_unix.go | 1 | ||||
| -rw-r--r-- | redo/uitask_windows.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/redo/uitask_unix.go b/redo/uitask_unix.go index b75a94d..8604dd2 100644 --- a/redo/uitask_unix.go +++ b/redo/uitask_unix.go @@ -10,6 +10,7 @@ import ( ) // #cgo pkg-config: gtk+-3.0 +// #cgo CFLAGS: --std=c99 // #include "gtk_unix.h" // extern gboolean doissue(gpointer data); import "C" diff --git a/redo/uitask_windows.go b/redo/uitask_windows.go index 288b33f..54b29cb 100644 --- a/redo/uitask_windows.go +++ b/redo/uitask_windows.go @@ -8,6 +8,7 @@ import ( "unsafe" ) +// #cgo CFLAGS: --std=c99 // #cgo LDFLAGS: -luser32 -lkernel32 -lgdi32 -luxtheme -lmsimg32 // #include "winapi_windows.h" import "C" |
