blob: 8f04522613c10b200ab984df931a93ccc0c1b703 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// license:BSD-3-Clause
// copyright-holders:Aaron Giles
//============================================================
//
// winprefix.h - Win32 prefix file, included by ALL files
//
//============================================================
#define _WIN32_WINNT 0x0501
#ifdef _MSC_VER
#include <assert.h>
#include <malloc.h>
#if _MSC_VER < 1800
#define alloca _alloca
#define round(x) floor((x) + 0.5)
#endif
#if _MSC_VER < 1500
#define vsnprintf _vsnprintf
#endif
#endif
#ifdef __GNUC__
#ifndef alloca
#define alloca __builtin_alloca
#endif
#define min(x,y) fmin(x,y)
#define max(x,y) fmax(x,y)
#endif
#define PATH_SEPARATOR "\\"
|