source: trunk/oscam-config.h@ 109

Last change on this file since 109 was 108, checked in by smurzch2, 11 years ago

Better handling of CS_CONFDIR.

File size: 1.3 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_LOGFILE "/dev/null"
12# else
13# define CS_LOGFILE "/dev/tty"
14# endif
15# define CS_EMBEDDED
16# define CS_NOSHM
17# define NO_FTIME
18# define CS_HW_DBOX2 1
19# define CS_HW_DREAM 2
20# define SCI_DEV 1
21# ifndef NO_PAR_SWITCH
22# define NO_PAR_SWITCH
23# endif
24#endif
25
26#ifdef UCLIBC
27# define CS_EMBEDDED
28# define CS_NOSHM
29# define NO_FTIME
30# ifndef NO_PAR_SWITCH
31# define NO_PAR_SWITCH
32# endif
33#endif
34
35#ifdef OS_CYGWIN32
36# define CS_NOSHM
37# define CS_MMAPFILE "oscam.mem"
38# define CS_LOGFILE "/dev/tty"
39# define NO_ENDIAN_H
40# ifndef NO_PAR_SWITCH
41# define NO_PAR_SWITCH
42# endif
43#endif
44
45#ifdef OS_SOLARIS
46# define NO_ENDIAN_H
47# define NEED_DAEMON
48#endif
49
50#ifdef OS_OSF
51# define NO_ENDIAN_H
52# define NEED_DAEMON
53#endif
54
55#ifdef OS_AIX
56# define NO_ENDIAN_H
57# define NEED_DAEMON
58# define socklen_t unsigned long
59#endif
60
61#ifdef OS_IRIX
62# define NO_ENDIAN_H
63# define NEED_DAEMON
64# define socklen_t unsigned long
65#endif
66
67#ifdef OS_HPUX
68# define NO_ENDIAN_H
69# define NEED_DAEMON
70#endif
71
72#ifdef ARM
73# define CS_EMBEDDED
74# define CS_NOSHM
75# define NO_FTIME
76#endif
77
78//#ifdef ALIGNMENT
79//# define STRUCTS_PACKED
80//#endif
Note: See TracBrowser for help on using the repository browser.