diff options
author | carmen rocco <ix9@users.sourceforge.net> | 2004-08-23 03:48:57 +0000 |
---|---|---|
committer | carmen rocco <ix9@users.sourceforge.net> | 2004-08-23 03:48:57 +0000 |
commit | aaa2082141762f7af77cd38bc9e2004ec32ecd43 (patch) | |
tree | 4b75aa216be2d3d45e60676322dd400f6feafcfd | |
parent | 3cc77d0f383c8732228d6378f93c46e6e1233411 (diff) |
hd-clear (NT)
svn path=/trunk/externals/ext13/; revision=1971
-rw-r--r-- | piperead~.c | 9 | ||||
-rw-r--r-- | pipewrite~.c | 8 | ||||
-rw-r--r-- | wavinfo.c | 7 |
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> @@ -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 /*--*/ |