]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: fix darwin/arm build
authorDavid Crawshaw <crawshaw@golang.org>
Wed, 25 Feb 2015 22:30:40 +0000 (17:30 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 25 Feb 2015 22:34:26 +0000 (22:34 +0000)
Macro definition ordering.

Change-Id: I0def4702d19a21a68ffa52ea5b7c22578830c578
Reviewed-on: https://go-review.googlesource.com/6030
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
src/runtime/cgo/gcc_darwin_arm.c

index 521964c97357c12673881cb9a4f01de2efed9164..7bb7f88a86b83e19e990551f778f2ddf1e2a07eb 100644 (file)
@@ -9,11 +9,11 @@
 #include <sys/param.h>
 #include <unistd.h>
 
+#include "libcgo.h"
+
 #include <CoreFoundation/CFBundle.h>
 #include <CoreFoundation/CFString.h>
 
-#include "libcgo.h"
-
 #define magic (0xe696c4f4U)
 
 // inittls allocates a thread-local storage slot for g.