1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-11-23 11:41:15 -05:00

uemacs: Compiles on Mac OS X.

Compiles on Mac OS X 10.6.4.

setmode() is renamed to setemode() to avoid conflict with OS X's unistd.h's
setmode().

Modify Makefile to enable the appropriate DEFINES to compile on Mac OS X.

Signed-off-by: Yong Luk Stanley Elijah Goh <stan@t0xt.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Yong Luk Stanley Elijah Goh
2010-08-20 05:55:31 +08:00
committed by Linus Torvalds
parent 834bfd37aa
commit 89fea23de5
6 changed files with 12 additions and 4 deletions

View File

@@ -713,3 +713,10 @@ typedef struct {
char *rstr;
} RMC;
#endif
/* Since Mac OS X's termios.h doesn't have the following 2 macros, define them.
*/
#if defined(SYSV) && defined(_DARWIN_C_SOURCE)
#define OLCUC 0000002
#define XCASE 0000004
#endif