Commit 5701bd5f authored by Youness Alaoui's avatar Youness Alaoui

workaround for non existing errno macros

parent 774ddb94
......@@ -51,6 +51,15 @@
#include <string.h>
#include <stdlib.h>
#ifdef _WIN32
#define ENOENT -1
#define EINVAL -2
#define ENOBUFS -3
#define EAFNOSUPPORT -4
#else
#include <errno.h>
#endif
bool stun_message_init (StunMessage *msg, stun_class_t c, stun_method_t m,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment