Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix random-test-* under Windows and Microsoft compiler #65

oldfaber opened this Issue Jun 8, 2012 · 0 comments


None yet
2 participants

oldfaber commented Jun 8, 2012

While I am learning git I think that the following patch is needed.
The same patch is needed for BOTH
random-test-client.c and random-test-server.c
The test result is SUCCESS

--- stephane-libmodbus-2dca042/tests/random-test-client.c 2012-05-28 17:00:22.000000000 +0200
+++ p1-libmodbus/tests/random-test-client.c 2012-06-08 10:35:38.657477100 +0200
@@ -16,7 +16,9 @@

#include <stdio.h>
+#ifndef _MSC_VER
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>

@stephane stephane closed this in 3ff4791 Jun 11, 2012

@mk8 mk8 added a commit to mk8/libmodbus that referenced this issue Nov 12, 2012

@stephane @mk8 stephane + mk8 Fix random-test-* with Microsoft compiler (closes #65) a370c44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment