pkgsrc/editors/TeXmacs/patches/patch-ae
reinoud 9fbcdce47f Fixing of fatal compilation errors. Mainly it redefined time_t causing it
to bomb out. Secondly it made assumptions about the processor being a 32
bitter wich gave rise to various warnings about pointer to integer
conversion. These were not that serious for they were mainly used for
calculating hash values but i decided to fix those too if only to get
better hash values.
2004-04-06 19:02:48 +00:00

16 lines
349 B
Text

$NetBSD: patch-ae,v 1.1 2004/04/06 19:02:49 reinoud Exp $
--- src/Window/event.hpp.orig 2004-04-03 21:20:49.000000000 +0200
+++ src/Window/event.hpp
@@ -15,10 +15,7 @@
#include "tree.hpp"
#include "command.hpp"
-#ifndef _TIME_T
-#define _TIME_T
-typedef long time_t;
-#endif
+#include <time.h>
class window_rep;
typedef window_rep* window;