mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
18 lines
431 B
C++
18 lines
431 B
C++
$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;
|