diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-24 00:56:59 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-24 00:56:59 +0200 |
commit | a750c1bfaad6887953db2c834456b4a0ed73e37e (patch) | |
tree | 4c884d71cc724e6314cd648587188b0f83e47e15 /src/libmdsserver | |
parent | m + do not any assumtion of int typedefs (diff) | |
download | mds-a750c1bfaad6887953db2c834456b4a0ed73e37e.tar.gz mds-a750c1bfaad6887953db2c834456b4a0ed73e37e.tar.bz2 mds-a750c1bfaad6887953db2c834456b4a0ed73e37e.tar.xz |
if the system is awesome enough to have sigupdate defined, use it instead of sigusr1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libmdsserver')
-rw-r--r-- | src/libmdsserver/macros.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h index 215c51a..04be98a 100644 --- a/src/libmdsserver/macros.h +++ b/src/libmdsserver/macros.h @@ -373,5 +373,14 @@ #endif +/** + * The user wants the program to re-exec. + * into an updated binary + */ +#ifndef SIGUPDATE +# define SIGUPDATE SIGUSR1 +#endif + + #endif |