#pragma once
#pragma warning(disable:4996)

#include <stdlib.h>

#ifndef __linux__
#include <SDL.h>
#include <SDL_thread.h>
#else
#include <SDL/SDL.h>
#include <SDL/SDL_thread.h>
#endif

#include <math.h>
#include <string>
#include <map>
#include <set>
#include <list>
#include <vector>
#include <deque>
#include <stack>
#include <sstream>
#include <stdexcept>
#include <algorithm>

#define CRT
#ifdef CRT
#ifdef WIN32
#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#endif
#endif

#include "glLib/glLibHeaders/glLibMain.h"

using namespace std;

#include <sys/stat.h>
#include <sys/types.h>

#ifdef GLLIB_OS_UNIX
#include <dirent.h>
#endif

#define MAX_DOUBLE  1.7e308
#define MIN_DOUBLE -1.7e308