mirror of
https://github.com/moparisthebest/hexchat
synced 2024-08-13 16:53:48 -04:00
28 lines
241 B
C
28 lines
241 B
C
|
#include <io.h>
|
||
|
|
||
|
int
|
||
|
portable_mode ()
|
||
|
{
|
||
|
if ((_access( "portable-mode", 0 )) != -1)
|
||
|
{
|
||
|
return 1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
int
|
||
|
xtray_mode ()
|
||
|
{
|
||
|
if ((_access( "plugins/xtray.dll", 0 )) != -1)
|
||
|
{
|
||
|
return 1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
}
|