drop commented ifdefs
This commit is contained in:
parent
df041fd089
commit
7cfa0d75c6
1 changed files with 0 additions and 2 deletions
|
|
@ -1358,7 +1358,6 @@ allows COM port numbers to be specified. */
|
||||||
|
|
||||||
/* Open the Comport for RD and WR and get a handle */
|
/* Open the Comport for RD and WR and get a handle */
|
||||||
/* this line should use a real serial device */
|
/* this line should use a real serial device */
|
||||||
//#ifdef _MSC_VER
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
strncpy_s(test.serial_device_prefix, strlen(serial_device_prefix) + 1, serial_device_prefix, strlen(serial_device_prefix) + 1);
|
strncpy_s(test.serial_device_prefix, strlen(serial_device_prefix) + 1, serial_device_prefix, strlen(serial_device_prefix) + 1);
|
||||||
#else
|
#else
|
||||||
|
|
@ -1381,7 +1380,6 @@ allows COM port numbers to be specified. */
|
||||||
x = (t_comport *)pd_new(comport_class);
|
x = (t_comport *)pd_new(comport_class);
|
||||||
|
|
||||||
x->comport = test.comport;/* com_num */
|
x->comport = test.comport;/* com_num */
|
||||||
//#ifdef _MSC_VER
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
strncpy_s(x->serial_device_prefix, strlen(serial_device_prefix) + 1, serial_device_prefix, strlen(serial_device_prefix) + 1);
|
strncpy_s(x->serial_device_prefix, strlen(serial_device_prefix) + 1, serial_device_prefix, strlen(serial_device_prefix) + 1);
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue