[PD-dev] -DLINUX

IOhannes zmoelnig zmoelnig at iem.kug.ac.at
Tue Nov 18 08:59:04 CET 2003


Hans-Christoph Steiner wrote:
> On Mon, 17 Nov 2003, guenter geiger wrote:
> 
> 
>>Its not there because its redundant, you can already test for
>>__linux__
>>linux
>>__linux
>>__gnu_linux__
>>
>>but no, I think it wouldn't break anything. Where do you want to
>>differenciate ?
> 
> 
> 
> Ah, that's makes a lot of sense.  Where are these actually defined? 

automagically by the gcc


> Are there equivalents for MacOS X or Windows?
> 
> .

on macOS, gcc will define __APPLE__

on windows, i have no access to a gcc.
but i don't think, that vc6 will define something automatically 
(probably _WINDOWS ?)

mfg.as.dr
IOhannes





More information about the Pd-dev mailing list