瀏覽代碼

Fix another Visual C++ 2008/2010 deficiency (closes #53)

Thanks to oldfaber.
Stéphane Raimbault 13 年之前
父節點
當前提交
c15da6c09e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/modbus-private.h

+ 2 - 1
src/modbus-private.h

@@ -1,5 +1,5 @@
 /*
- * Copyright © 2010-2011 Stéphane Raimbault <stephane.raimbault@gmail.com>
+ * Copyright © 2010-2012 Stéphane Raimbault <stephane.raimbault@gmail.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -25,6 +25,7 @@
 #else
 # include "stdint.h"
 # include <time.h>
+typedef int ssize_t;
 #endif
 #include <sys/types.h>
 #include <config.h>