summaryrefslogtreecommitdiff
path: root/lisp/time.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:12 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:12 +0000
commit10dc4a2c37597e02c12a9df3e9dba02a73bfc11b (patch)
tree862068307dff135870c4ae58be677408c4942a39 /lisp/time.c
parent8ae60bfe8a4b233100f5128859c76239e5789f70 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'lisp/time.c')
-rw-r--r--lisp/time.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/time.c b/lisp/time.c
index 3c21d00..826dacc 100644
--- a/lisp/time.c
+++ b/lisp/time.c
@@ -27,10 +27,10 @@
* Author: Paulo César Pereira de Andrade
*/
-/* $XFree86: xc/programs/xedit/lisp/time.c,v 1.7 2002/11/08 08:00:57 paulo Exp $ */
+/* $XFree86: xc/programs/xedit/lisp/time.c,v 1.10 2003/04/27 18:17:35 tsi Exp $ */
-#include "time.h"
-#include "bytecode.h"
+#include "lisp/time.h"
+#include "lisp/bytecode.h"
/*
* Implementation
@@ -41,6 +41,7 @@ Lisp_Time(LispBuiltin *builtin)
time form
*/
{
+#ifndef __UNIXOS2__
struct itimerval real, virt, prof;
unsigned long count;
long sec, usec;
@@ -135,4 +136,8 @@ Lisp_Time(LispBuiltin *builtin)
lisp__data.gc.timebits = 0;
return (result);
+#else
+ LispMessage("\"Lisp_Time\" not implemented under OS/2");
+ return (NIL);
+#endif
}