#ifndef COMMON_ALL_GARDEN
#define COMMON_ALL_GARDEN
#include "wx/defs.h"

#if wxUSE_GUI
    #error "This program can't be compiled in GUI mode."
#endif // wxUSE_GUI

#if !wxUSE_THREADS
#error "This program requires thread support!"
#endif // wxUSE_THREADS

#if !wxUSE_ODBC
#error "Cannot be compiled unless setup.h has wxUSE_ODBC set to 1"
#endif

#include <stdio.h>
#include <math.h>

#include <wx/log.h>
#include <wx/app.h>
#include <wx/config.h>

#include <stdlib.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif

#include "SDL.h"
#include "SDL_net.h"

// without this pragma, the stupid compiler precompiles #defines below so that
// changing them doesn't "take place" later!
#ifdef __VISUALC__
    #pragma hdrstop
#endif

// port to listen to control from me
#define CTRL_PORT 2000 
// port for users to listen to for commands from clients (login/logout/etc)
#define USER_PORT 2003 

// udp receiving ports
#define CLIENT_UDP 2002
// tcp port for listening to connections from server.
#define CLIENT_TCP 2003

#define SEPERATOR ','

extern bool killsignal;

#endif

