Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3217] O_NDELAY, __cdecl

Date2003-10-23 23:53
Fromsteven
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