YARP  2.3.68+228-20170410.2+git7d0b2e0
Yet Another Robot Platform
PlatformSignal.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2011 Department of Robotics Brain and Cognitive Sciences - Istituto Italiano di Tecnologia, Anne van Rossum
3  * Authors: Paul Fitzpatrick, Anne van Rossum
4  * CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
5  */
6 
7 #ifndef YARP_OS_IMPL_PLATFORMSIGNAL_H
8 #define YARP_OS_IMPL_PLATFORMSIGNAL_H
9 
10 #include <yarp/conf/system.h>
11 #ifdef YARP_HAS_ACE
12 # include <ace/OS_NS_unistd.h>
13 # include <ace/OS_NS_signal.h>
14 #else
15 # include <signal.h>
16 # ifndef __APPLE__
17 # define ACE_SignalHandler sighandler_t
18 # else
19 # define ACE_SignalHandler sig_t
20 # endif
21 #endif
22 
23 #endif // YARP_OS_IMPL_PLATFORMSIGNAL_H