summary refs log tree commit diff stats
path: root/src/common/wdkutil.c
blob: 5bf4f0c0251948a622616acd2c7d2bef8c7f102d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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;
	}
}