Thank you, I was using version <a href="http://0.9.4.">0.9.4.</a><br><br>It seems as though the IF statement did not work as I expected:<br><br>This works:<br><br>IF UNAME_SYSNAME == &quot;Windows&quot;:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ctypedef struct ohmygod:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int greece<br>ELSE:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ctypedef struct ohmygod:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; float pelvis<br><br>While this doesn&#39;t:<br><br> ctypedef struct ohmygod:<br>&nbsp;&nbsp;&nbsp;&nbsp; IF UNAME_SYSNAME == &quot;Windows&quot;:<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int greece<br>
&nbsp;&nbsp;&nbsp;&nbsp;
ELSE:<br>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; float pelvis<br><br>I figure this is not implemented yet, but it would be nice to see in the future.<br><br><br><div class="gmail_quote">2008/6/4 Stefan Behnel &lt;<a href="mailto:stefan_ml@behnel.de">stefan_ml@behnel.de</a>&gt;:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<div><div></div><div class="Wj3C7c"><br>
Jonne wrote:<br>
&gt; I am trying to use the compile-time statements described here:<br>
&gt; <a href="http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/Doc/Manual/basics.html#mozTocId42018" target="_blank">http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/Doc/Manual/basics.html#mozTocId42018</a><br>

&gt;<br>
&gt; &#39;DEF &nbsp;MAX_PAYLOAD = 32&#39; gives me the following error:<br>
&gt; /src/pyrextest/pyrextest.pxd:1:4: Syntax error in simple statement list<br>
&gt;<br>
&gt; while using &#39;IF UNAME_SYSNAME != &quot;Windows&quot;:&#39; gives me<br>
&gt; /src/pyrextest/pyrextest.pxd:173:11: Syntax error in C variable declaration.<br>
&gt;<br>
&gt; Am I doing something wrong?<br>
<br>
</div></div>you didn&#39;t mention which Pyrex version you are using, so please verify that<br>
you have the latest version installed.<br>
<font color="#888888"><br>
Stefan<br>
</font></blockquote></div><br>