source: trunk/oscam-config.h@ 1

Last change on this file since 1 was 1, checked in by root, 14 years ago

initial import

File size: 1.4 KB
Line 
1#define CS_LOGHISTORY
2#define NO_PAR_SWITCH
3
4#ifdef OS_FREEBSD
5# define NO_ENDIAN_H
6# define NO_FTIME
7#endif
8
9#ifdef TUXBOX
10# ifdef MIPSEL
11# define CS_CONFDIR "/etc/tuxbox"
12# define CS_LOGFILE "/dev/null"
13# else
14# define CS_CONFDIR "/var/tuxbox/config"
15# define CS_LOGFILE "/dev/tty"
16# endif
17# define CS_EMBEDDED
18# define CS_NOSHM
19# define NO_FTIME
20# define CS_HW_DBOX2 1
21# define CS_HW_DREAM 2
22# define SCI_DEV 1
23# ifndef NO_PAR_SWITCH
24# define NO_PAR_SWITCH
25# endif
26#endif
27
28#ifdef UCLIBC
29# define CS_EMBEDDED
30# define CS_NOSHM
31# define NO_FTIME
32# ifndef NO_PAR_SWITCH
33# define NO_PAR_SWITCH
34# endif
35#endif
36
37#ifdef OS_CYGWIN32
38# define CS_NOSHM
39# define CS_CONFDIR "."
40# define CS_MMAPFILE "oscam.mem"
41# define CS_LOGFILE "/dev/tty"
42# define NO_ENDIAN_H
43# ifndef NO_PAR_SWITCH
44# define NO_PAR_SWITCH
45# endif
46#endif
47
48#ifdef OS_SOLARIS
49# define NO_ENDIAN_H
50# define NEED_DAEMON
51#endif
52
53#ifdef OS_OSF
54# define NO_ENDIAN_H
55# define NEED_DAEMON
56#endif
57
58#ifdef OS_AIX
59# define NO_ENDIAN_H
60# define NEED_DAEMON
61# define socklen_t unsigned long
62#endif
63
64#ifdef OS_IRIX
65# define NO_ENDIAN_H
66# define NEED_DAEMON
67# define socklen_t unsigned long
68#endif
69
70#ifdef OS_HPUX
71# define NO_ENDIAN_H
72# define NEED_DAEMON
73#endif
74
75#ifdef ARM
76# define CS_EMBEDDED
77# define CS_NOSHM
78# define NO_FTIME
79#endif
80
81//#ifdef ALIGNMENT
82//# define STRUCTS_PACKED
83//#endif
Note: See TracBrowser for help on using the repository browser.