blob: 8313fc5074a23a1aa24c25b7ea8a20f7dc3fcf25 [file] [log] [blame]
/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
#ifndef LIBRARIES_NACL_IO_OSSIGNAL_H_
#define LIBRARIES_NACL_IO_OSSIGNAL_H_
#if !defined(WIN23)
#include <signal.h>
#if defined(__APPLE__)
typedef void (*sighandler_t)(int);
#elif defined(__GLIBC__) || defined(__BIONIC__)
typedef __sighandler_t sighandler_t;
#else
typedef _sig_func_ptr sighandler_t;
#endif
#endif
#endif /* LIBRARIES_NACL_IO_OSSIGNAL_H_ */