summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authorSean <sean@tox.im>2014-01-25 18:50:23 -0800
committerSean <sean@tox.im>2014-01-25 18:50:23 -0800
commit4e84497a68de79d5f52471f612a8a0e93c133078 (patch)
treea9d7d1d0462c28d8143d2cef479587941a417e9d /toxcore
parent803c6f41d7c5dd177c7ebd3c75e53908da80dedf (diff)
Moved Unix support
Networking.h is imported by everything.
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/tox.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 072979c8..7151c9ae 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -23,12 +23,6 @@
23 23
24#ifndef TOX_H 24#ifndef TOX_H
25#define TOX_H 25#define TOX_H
26
27#ifdef PLAN9
28#include <u.h>
29#include <libc.h>
30#endif
31
32#include <stdint.h> 26#include <stdint.h>
33 27
34#if defined(_WIN32) || defined(__WIN32__) || defined (WIN32) 28#if defined(_WIN32) || defined(__WIN32__) || defined (WIN32)
@@ -62,18 +56,6 @@ typedef short sa_family_t;
62extern "C" { 56extern "C" {
63#endif 57#endif
64 58
65#if defined(__AIX__)
66# define _XOPEN_SOURCE 1
67#endif
68
69#if defined(__sun__)
70#define __EXTENSIONS__ 1 /* SunOS */
71#if defined(__SunOS5_6__) || defined(__SunOS5_7__) || defined(__SunOS5_8__) || defined(__SunOS5_9__) || defined(__SunOS5_10__)
72//Nothing needed
73#else
74#define __MAKECONTEXT_V2_SOURCE 1
75#endif
76
77#define TOX_MAX_NAME_LENGTH 128 59#define TOX_MAX_NAME_LENGTH 128
78#define TOX_MAX_STATUSMESSAGE_LENGTH 128 60#define TOX_MAX_STATUSMESSAGE_LENGTH 128
79#define TOX_CLIENT_ID_SIZE 32 61#define TOX_CLIENT_ID_SIZE 32