]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.10] misc/cgo: fix darwin test, again
authorKeith Randall <khr@google.com>
Mon, 16 Jul 2018 17:45:25 +0000 (10:45 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 8 Aug 2018 00:27:12 +0000 (00:27 +0000)
commit2b07564d191f8604c847859b536390bef5954f88
tree1b8717bf8d592e8018fd92b98270cc8598dc5d06
parent1dea6c5269e67ab7c8201988cf6e15f914f1a8f7
[release-branch.go1.10] misc/cgo: fix darwin test, again

TARGET_OS_OSX is the right macro, but it also was only introduced
in 1.12.  For 1.11 and earlier a reasonable substitution is
TARGET_OS_IPHONE == 0.

Update #25036

Change-Id: I5f43c463d14fada9ed1d83cc684c7ea05d94c5f3
Reviewed-on: https://go-review.googlesource.com/124075
Run-TryBot: Keith Randall <khr@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-on: https://go-review.googlesource.com/124218
misc/cgo/test/issue24161e0/main.go
misc/cgo/test/issue24161e1/main.go
misc/cgo/test/issue24161e2/main.go