Merge pull request #1275 from ranma42/fix-lib64
[mono.git] / mono / utils / mono-signal-handler.h
1 /*
2  * mono-signal-handler.h: Handle signal handler differences across platforms
3  *
4  * Copyright (C) 2013 Xamarin Inc
5  */
6
7 #ifndef __MONO_SIGNAL_HANDLER_H__
8 #define __MONO_SIGNAL_HANDLER_H__
9
10 #include "config.h"
11
12 #ifdef ENABLE_EXTENSION_MODULE
13 #include "../../../mono-extensions/mono/utils/mono-signal-handler.h"
14 #endif
15 /*
16 Not all platforms support signal handlers in the same way. Some have the same concept but
17 for some weird reason pass different kind of arguments.
18
19 All signal handler helpers should go here so they can be properly shared across the JIT,
20 utils and sgen.
21
22 TODO: Cleanup & move mini's macros to here so they can leveraged by other parts.
23
24 */
25 #ifndef MONO_SIGNAL_HANDLER_FUNC
26 #define MONO_SIGNAL_HANDLER_FUNC(access, name, arglist) access void name arglist
27 #endif
28
29 #endif