[PD] Pd-GUI-Rewrite test builds

Hans-Christoph Steiner hans at at.or.at
Tue Oct 27 21:28:04 CET 2009


On Oct 27, 2009, at 3:14 PM, colet.patrice at free.fr wrote:

> Selon Hans-Christoph Steiner <hans at at.or.at>:
>
>
>> Cygwin is not _WIN32, by the way.  It is a POSIX-style API much  
>> closer
>> to GNU/Linux than Win32.  MinGW is _WIN32 with as much POSIX/UNIX
>> thrown in as possible.
>>
>
> the compiler define both _WIN32 and UNIX preprocessor, so it's  
> troubling...
>
> maybe the solution is here?
>
> http://www.cygwin.com/ml/cygwin/2002-11/msg00522.html

My Cygwin gcc does not define _WIN32, trying buiding this:

-----------------------

#ifdef _WIN32
#error this is _WIN32
#else
#error this is NOT _WIN32
#endif
int main(void){return 0;}


------------------

Here's what I get:

pd at windowsxp-i386 /tmp
$ gcc test.c
test.c:4:2: #error this is NOT  _WIN32


.hc



----------------------------------------------------------------------------

"Making boring techno music is really easy with modern tools," he
says, "but with live coding, boring techno is much harder." - Chris  
McCormick








More information about the Pd-list mailing list