aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/d-system.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/d-system.h')
-rw-r--r--gcc/d/d-system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/d/d-system.h b/gcc/d/d-system.h
index cd59b82..c32825d 100644
--- a/gcc/d/d-system.h
+++ b/gcc/d/d-system.h
@@ -24,7 +24,8 @@
/* Used by the dmd front-end to determine if we have POSIX-style IO. */
#define POSIX (__linux__ || __GLIBC__ || __gnu_hurd__ || __APPLE__ \
- || __FreeBSD__ || __OpenBSD__ || __DragonFly__ || __sun)
+ || __FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__ \
+ || __sun)
/* Forward assert invariants to gcc_assert. */
#undef assert