Conditional includes and device name length

This commit is contained in:
Friedrich Schöller 2013-05-22 02:12:26 +02:00
parent 308e87270a
commit ca42f469b4

View File

@ -18,11 +18,19 @@
*
*/
#ifdef WIN32
#include <stdint.h>
#include <stdbool.h>
#define VTUN_DEV_LEN 100
#else
#define VTUN_DEV_LEN 20
#endif
#ifdef __cplusplus
extern "C" {
#endif