diff options
Diffstat (limited to 'ace/os_include/ucontext.h')
-rw-r--r-- | ace/os_include/ucontext.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ace/os_include/ucontext.h b/ace/os_include/ucontext.h new file mode 100644 index 00000000000..13680fc9216 --- /dev/null +++ b/ace/os_include/ucontext.h @@ -0,0 +1,35 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file ucontext.h + * + * user context + * + * $Id$ + * + * @author Don Hinton <dhinton@ieee.org> + * @author This code was originally in various places including ace/OS.h. + */ +//============================================================================= + +#ifndef ACE_OS_INCLUDE_UCONTEXT_H +#define ACE_OS_INCLUDE_UCONTEXT_H + +#include "ace/pre.h" + +#include "ace/config-all.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +// @todo need to define sigset_t both here and in signal.h, but +// there is a circular dependancy since signal.h needs to include ucontext.h +//#include "ace/os_include/signal.h" + +#if !defined (ACE_LACKS_UCONTEXT_H) +# include /**/ <ucontext.h> +#endif /* !ACE_LACKS_ucontext_H */ + +#endif /* ACE_OS_INCLUDE_UCONTEXT_H */ |