summaryrefslogtreecommitdiffstats
path: root/include/bbs.h
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-27 22:50:58 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-27 22:50:58 +0800
commitf2d4c718ec4bc26886d4aec0ded9308378660321 (patch)
tree3ae7745aa612561ec76e824319295ab443e87b6c /include/bbs.h
parentda559d7cfe290ad1215a8f8192725b392d8b5e25 (diff)
downloadpttbbs-f2d4c718ec4bc26886d4aec0ded9308378660321.tar
pttbbs-f2d4c718ec4bc26886d4aec0ded9308378660321.tar.gz
pttbbs-f2d4c718ec4bc26886d4aec0ded9308378660321.tar.bz2
pttbbs-f2d4c718ec4bc26886d4aec0ded9308378660321.tar.lz
pttbbs-f2d4c718ec4bc26886d4aec0ded9308378660321.tar.xz
pttbbs-f2d4c718ec4bc26886d4aec0ded9308378660321.tar.zst
pttbbs-f2d4c718ec4bc26886d4aec0ded9308378660321.zip
add TIMET64 for both 4 or 8 bytes time_t
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2438 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/bbs.h')
-rw-r--r--include/bbs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bbs.h b/include/bbs.h
index 654bb83c..ea0de9da 100644
--- a/include/bbs.h
+++ b/include/bbs.h
@@ -37,7 +37,11 @@
#include <sys/sem.h>
#include <sys/msg.h>
+#ifdef TIMET64
typedef uint32_t time4_t;
+#else
+typedef time_t time4_t;
+#endif
/* our header */
#include "config.h"