Ticket #19341: patch-qcppdialogimpl.h

File patch-qcppdialogimpl.h, 581 bytes (added by jwbacon@…, 15 years ago)
Line 
1--- qcppdialogimpl.h.orig       2008-03-12 16:09:50.000000000 -0500
2+++ qcppdialogimpl.h    2009-03-28 09:05:42.000000000 -0500
3@@ -103,4 +103,21 @@
4 
5 };
6 
7+#if defined(__FreeBSD__)
8+
9+#define        DEVLIST "/dev/cuaU0"<<"/dev/cuaU1"<<"/dev/cuad0"<<"/dev/cuad1";
10+#define DEFAULT_DEV "/dev/cuaU0"
11+
12+#elif defined(__APPLE__)
13+
14+#define        DEVLIST "/dev/cu.usbserial"<<"/dev/cu.KeySerial1";
15+#define DEFAULT_DEV "/dev/cu.usbserial"
16+
17+#else  // Default to Linux devices.
18+
19+#define        DEVLIST "/dev/ttyS0"<<"/dev/ttyS1"<<"/dev/ttyS2"<<"/dev/ttyS3";
20+#define DEFAULT_DEV "/dev/ttyS0"
21+
22+#endif
23+
24 #endif