summaryrefslogtreecommitdiff
path: root/src/win95/platform.h
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-07-28 01:21:46 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:36 +0200
commit6d5a3cec554f6afc5f075722fba7e2aa464f5676 (patch)
treed0a23200c53af8cd58cc649457a26ddf748c7f46 /src/win95/platform.h
parentfd8ed25d23c8187a2e6f9d7e81fdbd8f98b22f1a (diff)
More compiling...
Diffstat (limited to 'src/win95/platform.h')
-rw-r--r--src/win95/platform.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/win95/platform.h b/src/win95/platform.h
index 9059f19..44c245d 100644
--- a/src/win95/platform.h
+++ b/src/win95/platform.h
@@ -1,6 +1,9 @@
#ifndef PLATFORM_INCLUDED
#define PLATFORM_INCLUDED
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <stdint.h> // int64_t
#include "shape.h" // struct imageheader
@@ -33,12 +36,20 @@ extern "C" {
#define max(a, b) (((a) > (b)) ? (a) : (b))
#endif
-#define stricmp strcasecmp
+#define TRUE 1
+#define FALSE 0
+
+#define stricmp strcasecmp
+#define _stricmp strcasecmp
/* Types */
+/* windows junk */
typedef int GUID;
typedef int DPID;
+typedef int HINSTANCE;
+typedef int WPARAM;
+typedef int LPARAM;
typedef int BOOL;