summaryrefslogtreecommitdiff
path: root/lisp/time.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:11 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:11 +0000
commitc8a87639c7cb7aef72630978a0e5a0d92618140c (patch)
tree862068307dff135870c4ae58be677408c4942a39 /lisp/time.c
parent0a193e032ba1ecf3f003e027e833dc9d274cb740 (diff)
merge latest (4.3.99.16) from XFree86 (vendor) branch
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
}