Pyrex DEF, IF, etc

Jonne <[email protected]> Wed, 4 Jun 2008 15:06:23 +0200
Newsgroups gmane.comp.python.pyrex
Message-ID <[email protected]>
Hi!

I am trying to use the compile-time statements described here:
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/Doc/Manual/basics.html#mozTocId42018

'DEF  MAX_PAYLOAD = 32' gives me the following error:
/src/pyrextest/pyrextest.pxd:1:4: Syntax error in simple statement list

while using 'IF UNAME_SYSNAME != "Windows":' gives me
/src/pyrextest/pyrextest.pxd:173:11: Syntax error in C variable declaration.

Am I doing something wrong?

_______________________________________________
Pyrex mailing list
[email protected]
http://lists.copyleft.no/mailman/listinfo/pyrex