blob: 1e827c97bb7a5592eb7b94726e6066c3c27b8b3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-src_moongate.cpp,v 1.1 2012/12/24 06:28:16 dholland Exp $
Provide NULL if it's missing. Apparently Required on Dragonfly.
--- src/moongate.cpp~ 2004-06-01 15:07:45.000000000 +0000
+++ src/moongate.cpp
@@ -11,6 +11,10 @@
#include "moongate.h"
#include "types.h"
+#ifndef NULL
+#define NULL 0
+#endif
+
typedef std::map<int, Coords> MoongateList; /* map moon phase to map coordinates */
MoongateList gates;
|