hexchat/src/common/portable.c

15 lines
128 B
C
Raw Normal View History

2010-12-06 19:20:02 -05:00
#include <io.h>
2010-08-18 17:20:18 -04:00
int
portable_mode ()
{
if ((_access( "portable-mode", 0 )) != -1)
{
return 1;
}
else
{
return 0;
}
}