made vpcd.c/vpcd.h windows-compatible

This commit is contained in:
Frank Morgner
2013-05-19 04:08:44 +02:00
parent fd6fdd8b01
commit bae3f07045
4 changed files with 46 additions and 8 deletions

View File

@@ -19,7 +19,12 @@
#ifndef _VPCD_H_
#define _VPCD_H_
#ifdef _WIN32
#include <stddef.h>
typedef int ssize_t;
#else
#include <unistd.h>
#endif
#ifdef __cplusplus
extern "C" {