blob: fb72eca5429b4c8522e6e02e50e5ab2c7aec337f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.1 2009/11/28 20:25:40 pgoyette Exp $
Remove an obsolete check that pointers fit into 32-bit data types. I
was unable to find any code remaining that depends on this, and at
least one program (dungeon!) works just fine without having had to do
any hashtable coding!
--- ../glkterm/main.c.orig 2009-11-20 14:08:33.000000000 -0800
+++ ../glkterm/main.c 2009-11-20 13:14:24.000000000 -0800
@@ -52,10 +52,12 @@
printf("Compile-time error: glui32 is not unsigned. Please fix glk.h.\n");
return 1;
}
+/*
if (sizeof(window_t *) > 4) {
printf("Compile-time error: Pointers cannot fit in a glui32. Start writing hashtable code.\n");
return 1;
}
+*/
/* Now some argument-parsing. This is probably going to hurt. */
startdata.argc = 0;
|