aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-02 05:00:59 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-02 05:00:59 +0000
commite65169b6c521c461d8d885351015b9e6d9879b01 (patch)
treec06b9b63d597ef3964682e79ae1a59f2c8d2b0e0
parent35b3fe4d7c9024a29218413aa515c6510cc4c06a (diff)
got things working on darwin
svn path=/trunk/externals/ext13/; revision=4104
-rw-r--r--piperead~.c2
-rw-r--r--pipewrite~.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/piperead~.c b/piperead~.c
index 2dde1de..eca559c 100644
--- a/piperead~.c
+++ b/piperead~.c
@@ -1,6 +1,6 @@
#include "m_pd.h"
-#ifndef NT
+#ifdef __gnu_linux__
#include <sys/mman.h>
#endif
#include <sys/types.h>
diff --git a/pipewrite~.c b/pipewrite~.c
index 1c68235..5a49be4 100644
--- a/pipewrite~.c
+++ b/pipewrite~.c
@@ -1,7 +1,7 @@
#include <m_pd.h>
#include "g_canvas.h"
-#ifndef NT
+#ifdef __gnu_linux__
#include <sys/mman.h>
#endif
#include <stdio.h>