Followup to CL 19001.
Change-Id: I7fa838b1ee8df53229e9dd29a231c2f9b2aa3f69
Reviewed-on: https://go-review.googlesource.com/19003
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <stdarg.h>
#include <android/log.h>
#include "libcgo.h"
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <string.h> /* for strerror */
#include <pthread.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <string.h> /* for strerror */
#include <pthread.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <pthread.h>
#include <signal.h>
#include <stdio.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <pthread.h>
#include <signal.h>
#include <stdio.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <string.h> /* for strerror */
#include <pthread.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <limits.h>
#include <pthread.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <limits.h>
#include <pthread.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <sys/types.h>
#include <sys/signalvar.h>
#include <pthread.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
// +build !android,linux
#include <stdarg.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <sys/types.h>
#include <sys/signalvar.h>
#include <pthread.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <sys/types.h>
#include <sys/signalvar.h>
#include <pthread.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <sys/types.h>
#include <machine/sysarch.h>
#include <sys/signalvar.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
// TODO: see issue #10410
// +build linux
// +build ppc64 ppc64le
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <stdio.h>
#include <stdlib.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <stdio.h>
#include <stdlib.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <pthread.h>
#include <string.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <pthread.h>
#include <errno.h>
#include <string.h> // strerror
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <pthread.h>
#include <string.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <pthread.h>
#include <string.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
// +build ppc64 ppc64le
#include <pthread.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
// +build linux,amd64
#include <errno.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <sys/types.h>
#include <pthread.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <sys/types.h>
#include <pthread.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <sys/types.h>
#include <pthread.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <sys/types.h>
#include <dlfcn.h>
#include <errno.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <sys/types.h>
#include <dlfcn.h>
#include <errno.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
// Emulation of the Unix signal SIGSEGV.
//
// On iOS, Go tests and apps under development are run by lldb.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
// +build !lldb
// +build darwin
// +build arm arm64
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#include <pthread.h>
#include <string.h>
#include <signal.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <process.h>
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build cgo
+
#define WIN64_LEAN_AND_MEAN
#include <windows.h>
#include <process.h>