<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Demo-the-New</title>
		<link>http://www.allegro.cc/forums/view/595534</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Mon, 17 Mar 2008 02:13:23 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, here I am playing the a5teroids demo on OS X!<br /><span class="remote-thumbnail"><span class="json">{"name":"594738","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/6\/9\/691222ed02db58d5d0944a3bc3a0b114.png","w":640,"h":502,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/6\/9\/691222ed02db58d5d0944a3bc3a0b114"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/6/9/691222ed02db58d5d0944a3bc3a0b114-240.jpg" alt="594738" width="240" height="188" /></span><br />In that code, there is reference to MAX_PATH but as far as I can see that&#39;s not defined, though PATH_MAX is. Any idea which is correct?</p><p>Also, there are some parts like
</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#ifdef __linux</span>
<span class="c">/* Linux code */</span>
<span class="p">#else</span>
<span class="c">/* Windows code */</span>
<span class="p">#endif</span>
</pre></div></div><p>
which I changed to 
</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#ifdef ALLEGRO_LINUX</span>
<span class="c">/* Linux code */</span>
<span class="p">#endif</span>
<span class="p">#if defined(ALLEGRO_MSVC) || defined(ALLEGRO_MINGW)</span>
<span class="c">/* Windows code */</span>
<span class="p">#endif</span>
<span class="p">#ifdef ALLEGRO_MACOSX</span>
<span class="c">/* OSX code */</span>
<span class="p">#endif</span>
</pre></div></div><p>
Does that look better? Is there a single define for the Windows platform?</p><p>Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Sat, 15 Mar 2008 01:45:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
In that code, there is reference to MAX_PATH but as far as I can see that&#39;s not defined, though PATH_MAX is. Any idea which is correct?
</p></div></div><p>

Apparently there&#39;s a FILENAME_MAX, maybe that&#39;s what you need.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Does that look better? Is there a single define for the Windows platform?
</p></div></div><p>

Yes, there&#39;s ALLEGRO_WINDOWS.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Sat, 15 Mar 2008 03:41:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Heh.. this summer i&#39;ll be away from my beloved PC and i&#39;ll only have my ibook g4 to play on. Yay for the mac port!!!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Goalie Ca)</author>
		<pubDate>Sat, 15 Mar 2008 05:16:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Does that look better?
</p></div></div><p>
might also want to change them to #elseif. Realistically, it probably doesn&#39;t matter as far as logic, because it shouldn&#39;t be the case that more than one of those will be defined at any given time. But it might speed up your compiles a little if it doesn&#39;t have to do a few compares.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (brigham toskin)</author>
		<pubDate>Mon, 17 Mar 2008 02:13:23 +0000</pubDate>
	</item>
</rss>
