summaryrefslogtreecommitdiff
path: root/games/urban/patches/patch-ai
blob: 9741563589fe350bb78984d1465cc30f6ce1ba32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ai,v 1.3 2010/02/14 22:04:01 joerg Exp $

--- src/datfile/datfile.cc.orig	2010-02-14 21:57:58.000000000 +0000
+++ src/datfile/datfile.cc
@@ -5,11 +5,9 @@
 #include "icache.h"
 #include "game.h"
 
-#ifdef DJGPP
-typedef unsigned char uint8;
-typedef unsigned long uint32;
-typedef signed long sint32;
-#endif
+typedef uint8_t uint8;
+typedef uint32_t uint32;
+typedef int32_t sint32;
 
 struct pcx_header {
 	uint8 manufacturer		__attribute__((packed));