23 lines
823 B
Plaintext
23 lines
823 B
Plaintext
$NetBSD: patch-ab,v 1.1.1.1 2011/02/16 17:10:41 thomasklausner Exp $
|
|
|
|
--- src/dmd/backend/dwarf.c.orig 2010-12-20 20:02:36.000000000 +0000
|
|
+++ src/dmd/backend/dwarf.c
|
|
@@ -22,7 +22,7 @@
|
|
#include <malloc.h>
|
|
#endif
|
|
|
|
-#if linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4
|
|
+#if linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4 || __NetBSD__
|
|
#include <signal.h>
|
|
#include <unistd.h>
|
|
#include <errno.h>
|
|
@@ -402,7 +402,7 @@ void dwarf_initfile(const char *filename
|
|
linebuf->writeString((char *)list_ptr(pl));
|
|
linebuf->writeByte(0);
|
|
}
|
|
-#if linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4
|
|
+#if linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4 || __NetBSD__
|
|
for (pl = pathsyslist; pl; pl = list_next(pl))
|
|
{
|
|
linebuf->writeString((char *)list_ptr(pl));
|