fixed problem with 'boolean' typedef when compiling with MinGW environment
[rocksndiamonds.git] / src / libgame / types.h
index 0dfed15a1ba29280b6cac09091287218d5825926..1278a553a6418c85f6ee2f1bde885f78ca8594fa 100644 (file)
@@ -18,9 +18,9 @@
 #include <string.h>
 #include <sys/types.h>
 
-typedef int boolean;
 
 #if !defined(PLATFORM_WIN32)
+typedef int boolean;
 typedef unsigned char byte;
 #endif
 
@@ -72,6 +72,7 @@ struct ListNode
 {
   char *key;
   void *content;
+  struct ListNode *prev;
   struct ListNode *next;
 };
 typedef struct ListNode ListNode;