From 19976849e168cb2faa6cfb73517cd7c762430f6f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 14 Aug 2014 10:26:09 -0400 Subject: [PATCH] Added C99 to the Windows and GTK+ cgo CFLAGS after Ian Taylor confirmed it was safe to use. --- redo/uitask_unix.go | 1 + redo/uitask_windows.go | 1 + 2 files changed, 2 insertions(+) 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"