<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Creating directory in A5 for Linux and Windows</title>
		<link>http://www.allegro.cc/forums/view/615073</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 14 Feb 2015 16:19:01 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi. I&#39;m creating program in which I use funkction &quot;mkdir&quot; for creating directories. In Linux it must look like - mkdir(name_of_dir,0777) - and for Windows just<br />- mkdir(name_of_dir). How ca I made one source code that will compile in both systems with mkdir ? Now I have to change mkdir syntax when I want to compile for Win or Linux and therefore have two source codes. Or is other way to create directory which will be the same for both systems? Thanks for answers.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (PeKaGM)</author>
		<pubDate>Fri, 13 Feb 2015 00:59:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>you could try <span class="source-code"><a href="http://www.allegro.cc/manual/al_make_directory"><span class="a">al_make_directory</span></a></span>. If you must use mkdir, you can use ifdef&#39;s to pick which mkdir to use.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 13 Feb 2015 01:23:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Don&#39;t forget al_get_standard_path.  For good examples of its usage, see &quot;framework.c&quot; from the skater demo and <a href="http://www.speedhack.allegro.cc/entrants">Todd Cope&#39;s 2014 SpeedHack entry</a>.</p><p>Edit:  Why no <a href="https://www.allegro.cc/manual/5/al_get_standard_path">link</a>?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Fri, 13 Feb 2015 01:43:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I guess the autolink works only in &lt;code&gt; tags?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (pkrcel)</author>
		<pubDate>Fri, 13 Feb 2015 14:00:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Some functions may not be in matthew&#39;s api database? My best guess.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 13 Feb 2015 22:35:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Uhm, what? <span class="source-code"><a href="http://www.allegro.cc/manual/al_get_standard_path"><span class="a">al_get_standard_path</span></a></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 13 Feb 2015 23:35:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>al_get_standard_path vs. <span class="source-code"><a href="http://www.allegro.cc/manual/al_get_standard_path"><span class="a">al_get_standard_path</span></a></span></p><p>just as I say two posts above
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (pkrcel)</author>
		<pubDate>Sat, 14 Feb 2015 01:44:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, yeah. it doens&#39;t work in pre tags. the auto linking is part of the syntax highlighting. Also try `this type of code tag`
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sat, 14 Feb 2015 01:57:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks, guys.  I was thinking that code tags like <span class="source-code"><a href="http://www.allegro.cc/manual/al_get_standard_path"><span class="a">al_get_standard_path</span></a></span> refused to be inline for some reason.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Sat, 14 Feb 2015 16:19:01 +0000</pubDate>
	</item>
</rss>
