summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_timer.h
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2014-10-24 12:35:01 +0100
committerAsk Solem <ask@celeryproject.org>2014-10-24 12:35:01 +0100
commit185ce081e3efc846b476995b7da7297bb0eec82c (patch)
tree98adf852d24384b34b5a462907c2dce732c6821b /librabbitmq/amqp_timer.h
parentbe3000b4c84d7503f5ef4067de44ff16d060d158 (diff)
parent9626dd5cd5f78894f1416a1afd2d624ddd4904ae (diff)
downloadrabbitmq-c-github-ask-master.tar.gz
Merge branch 'alanxz/master'HEADmaster
Diffstat (limited to 'librabbitmq/amqp_timer.h')
-rw-r--r--librabbitmq/amqp_timer.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/librabbitmq/amqp_timer.h b/librabbitmq/amqp_timer.h
index 8ac3de9..3936922 100644
--- a/librabbitmq/amqp_timer.h
+++ b/librabbitmq/amqp_timer.h
@@ -1,6 +1,7 @@
/* vim:set ft=c ts=2 sw=2 sts=2 et cindent: */
/*
- * Copyright 2013 Alan Antonuk
+ * Portions created by Alan Antonuk are Copyright (c) 2013-2014 Alan Antonuk.
+ * All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -37,7 +38,10 @@
# include <sys/time.h>
#endif
-#define AMQP_NS_PER_S 1000000000
+#define AMQP_MS_PER_S 1000
+#define AMQP_US_PER_MS 1000
+#define AMQP_NS_PER_S 1000000000
+#define AMQP_NS_PER_MS 1000000
#define AMQP_NS_PER_US 1000
#define AMQP_INIT_TIMER(structure) { \