| OLD | NEW |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
| 4 | 4 |
| 5 #ifndef LIBRARIES_NACL_IO_OSSIGNAL_H_ | 5 #ifndef LIBRARIES_NACL_IO_OSSIGNAL_H_ |
| 6 #define LIBRARIES_NACL_IO_OSSIGNAL_H_ | 6 #define LIBRARIES_NACL_IO_OSSIGNAL_H_ |
| 7 | 7 |
| 8 #if !defined(WIN23) | 8 #if !defined(WIN23) |
| 9 #include <signal.h> | 9 #include <signal.h> |
| 10 #if defined(__GLIBC__) | 10 #if defined(__GLIBC__) || defined(__BIONIC__) |
| 11 typedef __sighandler_t sighandler_t; | 11 typedef __sighandler_t sighandler_t; |
| 12 #else | 12 #else |
| 13 typedef _sig_func_ptr sighandler_t; | 13 typedef _sig_func_ptr sighandler_t; |
| 14 #endif | 14 #endif |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 #endif | 17 #endif |
| OLD | NEW |