diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-07-11 16:40:24 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-07-11 16:40:24 +0000 |
commit | 3cc282dcc13295ec6e0cca8ffcf9f78784f09733 (patch) | |
tree | 5e62776207373ed1f2428c4745cc7d49637f1cc7 /readsfv~.c | |
parent | d072e37faab2a7253f14165c38c7220dfc3f7685 (diff) |
got the lib to compile on MinGW by ifdeffing out the failing objects. These could be ported pretty easily since it's just a question of the open() function, I think. But it's really old, funky code, so why?
svn path=/trunk/externals/moonlib/; revision=8005
Diffstat (limited to 'readsfv~.c')
-rw-r--r-- | readsfv~.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,3 +1,4 @@ +#ifndef _WIN32 /* Copyright (c) 1997-1999 Miller Puckette. * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ @@ -25,7 +26,7 @@ for Windows if someone were willing to find a Pthreads package for it. */ #include <fcntl.h> #endif #include <pthread.h> -#ifdef NT +#ifdef _WIN32 #include <io.h> #endif #include <stdio.h> @@ -152,7 +153,7 @@ typedef struct _aiff #define OBUFSIZE MAXPDSTRING /* assume MAXPDSTRING is bigger than headers */ -#ifdef NT +#ifdef _WIN32 #include <fcntl.h> #define BINCREATE _O_WRONLY | _O_CREAT | _O_BINARY | _O_TRUNC | #else @@ -1680,4 +1681,4 @@ void readsfv_tilde_setup(void) - +#endif /* NOT _WIN32 */ |