New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix compilation with Visual C++ #53

oldfaber opened this Issue Apr 17, 2012 · 0 comments


None yet
2 participants

oldfaber commented Apr 17, 2012

Microsoft Visual C++ 2008/2010 does not have a ssize_t.
Please apply.



--- libmodbus-3.0.2\src\modbus-private.h 2012-01-25 05:29:36.000000000 +0100
+++ libmodbus-3.0.2-new\src\modbus-private.h 2012-04-17 17:58:15.308796300 +0200
@@ -25,6 +25,7 @@

include "stdint.h"

include <time.h>

+typedef int ssize_t;
#include <sys/types.h>
#include <config.h>

@stephane stephane closed this in 23dd803 Apr 19, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment