aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarmen rocco <ix9@users.sourceforge.net>2004-08-23 03:48:57 +0000
committercarmen rocco <ix9@users.sourceforge.net>2004-08-23 03:48:57 +0000
commitaaa2082141762f7af77cd38bc9e2004ec32ecd43 (patch)
tree4b75aa216be2d3d45e60676322dd400f6feafcfd
parent3cc77d0f383c8732228d6378f93c46e6e1233411 (diff)
hd-clear (NT)
svn path=/trunk/externals/ext13/; revision=1971
-rw-r--r--piperead~.c9
-rw-r--r--pipewrite~.c8
-rw-r--r--wavinfo.c7
3 files changed, 8 insertions, 16 deletions
diff --git a/piperead~.c b/piperead~.c
index ceeb1bd..aac3366 100644
--- a/piperead~.c
+++ b/piperead~.c
@@ -1,17 +1,14 @@
#include "m_pd.h"
-#ifdef NT
-#pragma warning( disable : 4244 )
-#pragma warning( disable : 4305 )
-#endif
-
+#ifndef NT
+#include <sys/mman.h>
+#endif
#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <sys/stat.h>
diff --git a/pipewrite~.c b/pipewrite~.c
index a49526c..dc31509 100644
--- a/pipewrite~.c
+++ b/pipewrite~.c
@@ -1,14 +1,12 @@
#include <m_pd.h>
#include "g_canvas.h"
-#ifdef NT
-#pragma warning( disable : 4244 )
-#pragma warning( disable : 4305 )
-#endif
+#ifndef NT
+#include <sys/mman.h>
+#endif
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <sys/stat.h>
diff --git a/wavinfo.c b/wavinfo.c
index f27c250..db7188c 100644
--- a/wavinfo.c
+++ b/wavinfo.c
@@ -8,12 +8,9 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
-#include <sys/mman.h>
#include <fcntl.h>
-
-#ifdef NT
-#pragma warning( disable : 4244 )
-#pragma warning( disable : 4305 )
+#ifndef NT
+#include <sys/mman.h>
#endif
/*--*/