Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 541536
Collapse All | Expand All

(-)a/setserial.c (+19 lines)
Lines 31-36 Link Here
31
31
32
#include "version.h"
32
#include "version.h"
33
33
34
#ifdef __APPLE__
35
// see http://www.insanelymac.com/forum/topic/155999-compiling-setserial-on-mac-os-x/
36
#ifndef TIOCGSERIAL
37
#define TIOCGSERIAL 0x541E
38
#endif
39
#ifndef TIOCSERCONFIG
40
#define TIOCSERCONFIG 0x5453
41
#endif
42
#ifndef TIOCSSERIAL
43
#define TIOCSSERIAL 0x541F
44
#endif
45
#ifndef TIOCSERGWILD
46
#define TIOCSERGWILD 0x5454
47
#endif
48
#ifndef TIOCSERSWILD
49
#define TIOCSERSWILD 0x5455
50
#endif
51
#endif
52
34
static char version_str[] = "setserial version " SETSERIAL_VERSION ", "
53
static char version_str[] = "setserial version " SETSERIAL_VERSION ", "
35
	SETSERIAL_DATE;
54
	SETSERIAL_DATE;
36
55

Return to bug 541536