Skip to content

Commit 704baf2

Browse files
committed
Merge remote-tracking branch 'tinytaro/master'
2 parents 6d49523 + a047f14 commit 704baf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nanomodbus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ nmbs_error recv_read_device_identification_res(nmbs_t* nmbs, uint8_t buffers_cou
888888
if (order)
889889
buf_index = order[object_id];
890890
if (buffers_out) {
891-
#ifndef WIN32
891+
#ifndef _WIN32
892892
strncpy(buffers_out[buf_index], str, buffers_length);
893893
#else
894894
strncpy_s(buffers_out[buf_index], buffers_length, str, object_length);

0 commit comments

Comments
 (0)