diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-07-15 06:11:53 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-07-15 06:11:53 +0000 |
commit | 9a79d500eb3e015f5bf579aab714916d49c1f289 (patch) | |
tree | db658e87a17e5417ec01ab4a1b0249bdaf2bd1d2 /src/timeout.h | |
parent | 471334c3d07f398e4b0859c43276341a28b91504 (diff) | |
download | luasocket-9a79d500eb3e015f5bf579aab714916d49c1f289.tar.gz luasocket-9a79d500eb3e015f5bf579aab714916d49c1f289.tar.bz2 luasocket-9a79d500eb3e015f5bf579aab714916d49c1f289.zip |
Still need to fix windows. :o/
Diffstat (limited to 'src/timeout.h')
-rw-r--r-- | src/timeout.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeout.h b/src/timeout.h index 817922f..595aac2 100644 --- a/src/timeout.h +++ b/src/timeout.h | |||
@@ -25,4 +25,6 @@ double tm_getstart(p_tm tm); | |||
25 | double tm_gettime(void); | 25 | double tm_gettime(void); |
26 | int tm_meth_settimeout(lua_State *L, p_tm tm); | 26 | int tm_meth_settimeout(lua_State *L, p_tm tm); |
27 | 27 | ||
28 | #define tm_iszero(tm) ((tm)->block == 0.0) | ||
29 | |||
28 | #endif /* TM_H */ | 30 | #endif /* TM_H */ |