headers.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #ifndef _HEADERS_H_
00004 #define _HEADERS_H_
00005 
00006 #ifdef WIN32
00007 #ifndef WIN32_LEAN_AND_MEAN
00008 #define WIN32_LEAN_AND_MEAN
00009 #endif
00010 #ifndef _WIN32_WINNT
00011 #define _WIN32_WINNT 0x0500
00012 #endif
00013 #define NOMINMAX
00014 #include <windows.h>
00015 #else
00016 #include <time.h>
00017 #include <sys/time.h>
00018 #endif
00019 
00020 #include <stdio.h>
00021 #include <stdlib.h>
00022 #include <stddef.h>
00023 #include <string.h>
00024 #include <math.h>
00025 #include <vector>
00026 #include <algorithm>
00027 
00028 #ifdef WIN32
00029 #define snprintf _snprintf
00030 template <typename TYPE> inline TYPE round(TYPE a) {
00031         return ::floor(a + (TYPE)0.5);
00032 }
00033 #endif
00034 
00035 #endif // _HEADERS_H_


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:12