]> Cypherpunks repositories - gostls13.git/commit
misc/cgo: fix darwin test, again
authorKeith Randall <khr@google.com>
Mon, 16 Jul 2018 17:45:25 +0000 (10:45 -0700)
committerKeith Randall <khr@golang.org>
Mon, 16 Jul 2018 19:14:30 +0000 (19:14 +0000)
commitbaebc7f9939b8030d89d3b96d7bc6879452c9495
treed40d7fd52bbd7c54646200ecf9e08764f18dbd1c
parentf49a5c6c578963d21c95b5d65805fb9f0edaae0f
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 #24161
Update #26355

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>
misc/cgo/test/issue24161e0/main.go
misc/cgo/test/issue24161e1/main.go
misc/cgo/test/issue24161e2/main.go