#pragma once

//#define NTDDI_VERSION NTDDI_WINXPSP3
//#define _WIN32_WINNT _WIN32_WINNT_WINXP
//#define WINVER _WIN32_WINNT_WINXP

#ifdef _DEBUG
	#define _CARMA_DEBUG_HEAP
#endif

#pragma warning(disable : 4366)

#define _WINSOCKAPI_ 
#include <Windows.h>
#include <winsock2.h>
#include <stdio.h>
#include <tchar.h>
#include <time.h>

#ifdef _CARMA_DEBUG_HEAP
	#define _CRTDBG_MAP_ALLOC
	#include <assert.h>
	#include <crtdbg.h>
#endif

// only pragma lib the non-lib builds
#ifndef _LIB
	#pragma comment(lib, "..\\..\\..\\lib\\CarmaManager.lib")
#endif

#include "Exception.h"
#include "_CONSTANTS.h"
#include "Log.h"
#include "CarmaManager.h"