summaryrefslogtreecommitdiff
path: root/include/my_alarm.h
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-07-01 12:06:41 +0400
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-07-01 12:06:41 +0400
commit88ec546247cba2da7785a71255d3100fdce148ca (patch)
treeb708d98d1300208779f2454df07ffd2ff6a8f988 /include/my_alarm.h
parentea73b23e4a9400452df51b206a56482002ea5d1b (diff)
parentf3ccf5061fdf7110be6e6f1dd98fe696842081d1 (diff)
downloadmariadb-git-88ec546247cba2da7785a71255d3100fdce148ca.tar.gz
Manual merge from 5.1.
conflicts: conflict include/my_alarm.h
Diffstat (limited to 'include/my_alarm.h')
-rw-r--r--include/my_alarm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/my_alarm.h b/include/my_alarm.h
index dd2d5642f5f..fa396cf02f9 100644
--- a/include/my_alarm.h
+++ b/include/my_alarm.h
@@ -36,14 +36,14 @@ extern ulong my_time_to_wait_for_lock;
#define ALARM_END (void) signal(SIGALRM,alarm_signal); \
(void) alarm(alarm_old);
#define ALARM_TEST my_have_got_alarm
-#ifdef DONT_REMEMBER_SIGNAL
+#ifdef SIGNAL_HANDLER_RESET_ON_DELIVERY
#define ALARM_REINIT (void) alarm(MY_HOW_OFTEN_TO_ALARM); \
(void) signal(SIGALRM,my_set_alarm_variable);\
my_have_got_alarm=0;
#else
#define ALARM_REINIT (void) alarm((uint) MY_HOW_OFTEN_TO_ALARM); \
my_have_got_alarm=0;
-#endif /* DONT_REMEMBER_SIGNAL */
+#endif /* SIGNAL_HANDLER_RESET_ON_DELIVERY */
#else
#define ALARM_VARIABLES long alarm_pos=0,alarm_end_pos=MY_HOW_OFTEN_TO_WRITE-1
#define ALARM_INIT