mirror of
https://github.com/norohind/hans.git
synced 2025-06-09 11:52:09 +03:00
Conditional includes and device name length
This commit is contained in:
parent
308e87270a
commit
ca42f469b4
@ -18,11 +18,19 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#define VTUN_DEV_LEN 100
|
#define VTUN_DEV_LEN 100
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#define VTUN_DEV_LEN 20
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user