portable mode enabled in runtime

This commit is contained in:
[email protected] committed 2010-08-18 23:20:18 +02:00
1 parent bb33a3c4c4
commit ca904e4334
4 files changed
+72 -37

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#include <io.h>
int
portable_mode ()
{
if ((_access( "portable-mode", 0 )) != -1)
{
return 1;
}
else
{
return 0;
}
}
+1
View File
@@ -0,0 +1 @@
int portable_mode ();