Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3218] Re: O_NDELAY, __cdecl

Date2003-10-23 23:54
From"Michael Gogins"
Subject[CSOUND-DEV:3218] Re: O_NDELAY, __cdecl
I would suggest you remove the stuff from sysdep.h if you can; if not,
#ifdef __CYGWIN__ can be used to get around the problem.

============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
Silence, a language for programming music and sound
Available at http://sourceforge.net/projects/silencevst/
============================================


----- Original Message ----- 
From: "steven" 
To: "Csound Developers Discussion List" 
Sent: Thursday, October 23, 2003 6:53 PM
Subject: [CSOUND-DEV:3217] O_NDELAY, __cdecl


> Hi all,
>
> I tried a compile of csound5 on windows using Cygwin and ran into
> "O_NDELAY" and "__cdecl" being redefined.  It seems for O_NDELAY is
> defined in fcntl.h, but then defined in sysdep.h if WIN32 is defined.
> I'm wondering is this define in sysdep.h is for if compiling with MS VC
> compiler and MS headers and libraries?
>
> As for __cdecl being redefined, it seems to happen here in cs.h:
>
> #if !defined(__BEOS__) || defined(__MWERKS__)
> #  define __cdecl
> #endif
>
> But I'm not knowledgable enough to figure out where it's #defined in the
> first place.  Any help here appreciated.
>
> Thanks all!
> steven
>

Date2003-10-24 00:45
Fromsteven
Subject[CSOUND-DEV:3219] Re: O_NDELAY, __cdecl
Hi Michael,

Thanks for the tip! I'll give that a try when I get back from this weekend.

=)

steven


Michael Gogins wrote:

>I would suggest you remove the stuff from sysdep.h if you can; if not,
>#ifdef __CYGWIN__ can be used to get around the problem.
>
>============================================
>Michael Gogins
>gogins at pipeline period com
>Irreducible Productions
>Silence, a language for programming music and sound
>Available at http://sourceforge.net/projects/silencevst/
>============================================
>
>
>----- Original Message ----- 
>From: "steven" 
>To: "Csound Developers Discussion List" 
>Sent: Thursday, October 23, 2003 6:53 PM
>Subject: [CSOUND-DEV:3217] O_NDELAY, __cdecl
>
>
>  
>
>>Hi all,
>>
>>I tried a compile of csound5 on windows using Cygwin and ran into
>>"O_NDELAY" and "__cdecl" being redefined.  It seems for O_NDELAY is
>>defined in fcntl.h, but then defined in sysdep.h if WIN32 is defined.
>>I'm wondering is this define in sysdep.h is for if compiling with MS VC
>>compiler and MS headers and libraries?
>>
>>As for __cdecl being redefined, it seems to happen here in cs.h:
>>
>>#if !defined(__BEOS__) || defined(__MWERKS__)
>>#  define __cdecl
>>#endif
>>
>>But I'm not knowledgable enough to figure out where it's #defined in the
>>first place.  Any help here appreciated.
>>
>>Thanks all!
>>steven
>>
>>    
>>
>
>
>
>  
>