hexchat/src/common/wdkutil.c

28 lines
241 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;
}
}
2011-01-14 00:43:56 -05:00
int
xtray_mode ()
{
if ((_access( "plugins/xtray.dll", 0 )) != -1)
{
return 1;
}
else
{
return 0;
}
}