summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2019-07-11 04:35:48 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2019-07-11 04:35:48 +0000
commit638e2ef8fdb26fc1b5446f3cdfd0bf2e17ba9e71 (patch)
treee2d1d03bf44f1389b49c1197421ba40c174ae07e /ev.h
parent89d9f20381f48261cb2db6fad118b29f6c250a78 (diff)
downloadlibev-638e2ef8fdb26fc1b5446f3cdfd0bf2e17ba9e71.tar.gz
libev-638e2ef8fdb26fc1b5446f3cdfd0bf2e17ba9e71.zip
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ev.h b/ev.h
index d120ce6..7966051 100644
--- a/ev.h
+++ b/ev.h
@@ -151,7 +151,10 @@ EV_CPP(extern "C" {)
/*****************************************************************************/
-typedef double ev_tstamp;
+#ifndef EV_TSTAMP_T
+# define EV_TSTAMP_T double
+#endif
+typedef EV_TSTAMP_T ev_tstamp;
#include <string.h> /* for memmove */