summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-09-24 07:56:06 -0400
committerirungentoo <irungentoo@gmail.com>2013-09-24 07:56:06 -0400
commit05a3851e437ccdf9912f661c7935f9064a61d135 (patch)
tree910706cdae94564d70a8e93d8db8e47b694a9b34 /toxcore/tox.h
parentb0149318fafe2ae8de2eaf1eed6d691936e92d3d (diff)
Fixed windows build.
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index db3621dc..eabbb1af 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -36,6 +36,13 @@
36#include <windows.h> 36#include <windows.h>
37#include <ws2tcpip.h> 37#include <ws2tcpip.h>
38 38
39typedef INT sa_family_t;
40#ifndef true
41#define true 1
42#endif
43#ifndef false
44#define false 0
45#endif
39#else 46#else
40 47
41#include <netinet/ip.h> 48#include <netinet/ip.h>