12 #define NULL ((void *)0)
24 #if defined(__GNUC__) || (defined(_MSC_VER) && _MSC_VER >= 1400)
25 #define RESTRICT __restrict
30 // LadyHavoc: upgrade the prvm to double precision for better time values
31 // LadyHavoc: to be enabled when bugs are worked out...
34 typedef double prvm_vec_t;
35 typedef int64_t prvm_int_t;
36 typedef uint64_t prvm_uint_t;
37 #define PRVM_PRIi PRIi64
38 #define PRVM_PRIu PRIu64
40 typedef float prvm_vec_t;
41 typedef int32_t prvm_int_t;
42 typedef uint32_t prvm_uint_t;
43 #define PRVM_PRIi PRIi32
44 #define PRVM_PRIu PRIu32
46 typedef prvm_vec_t prvm_vec3_t[3];
53 typedef vec_t vec2_t[2];
54 typedef vec_t vec3_t[3];
55 typedef vec_t vec4_t[4];
56 typedef vec_t vec5_t[5];
57 typedef vec_t vec6_t[6];
58 typedef vec_t vec7_t[7];
59 typedef vec_t vec8_t[8];