Disable nextmap in Synergy and Dystopia (
bug 3687,
bug 3741; r=liam)
2 * Things needed to compile under linux.
4 * Should be reworked totally to use GNU's 'configure'
9 /* getchar() is not a 'cool' replacement for MSDOS getch: Linux/unix depends on the features activated or not about the
10 * controlling terminal's tty. This means that ioctl(2) calls must be performed, for instance to have the controlling
11 * terminal tty's in 'raw' mode, if we want to be able to fetch a single character. This also means that everything must
12 * be put back correctly when the function ends. See GETCH.C for an implementation.
14 * For interactive use of SRUN/SDBG if would be much better to use GNU's readline package: the user would be able to
15 * have a complete emacs/vi like line editing system.
19 #define stricmp(a,b) strcasecmp(a,b)
20 #define strnicmp(a,b,c) strncasecmp(a,b,c)
23 * WinWorld wants '\'. Unices do not.
25 #define DIRECTORY_SEP_CHAR '/'
26 #define DIRECTORY_SEP_STR "/"
29 * SC assumes that a computer is Little Endian unless told otherwise. It uses
30 * (and defines) the macros BYTE_ORDER and BIG_ENDIAN.
31 * For Linux, we must overrule these settings with those defined in glibc.
33 #if !defined __BYTE_ORDER
37 #if defined __OpenBSD__ || defined __FreeBSD__ || defined __APPLE__
38 # define __BYTE_ORDER BYTE_ORDER
39 # define __LITTLE_ENDIAN LITTLE_ENDIAN
40 # define __BIG_ENDIAN BIG_ENDIAN
43 #if !defined __BYTE_ORDER
44 # error "Can't figure computer byte order (__BYTE_ORDER macro not found)"
47 #endif /* SCLINUX_H */