When building with MSVC some of the header file stuff is only relevant in early versions (e.g. VC8)
This commit is contained in:
parent
85072e16aa
commit
9df3a2a547
@ -196,6 +196,7 @@ typedef _mode_t mode_t;
|
|||||||
#endif /* _MODE_T_ */
|
#endif /* _MODE_T_ */
|
||||||
|
|
||||||
// int64 abs()
|
// int64 abs()
|
||||||
|
#if (defined(_MSC_VER) && (_MSC_VER < 1500))
|
||||||
#ifdef __cplusplus // Normal 'C' doesn't permit over-ridden functions !!
|
#ifdef __cplusplus // Normal 'C' doesn't permit over-ridden functions !!
|
||||||
inline int64_t abs(int64_t val) throw()
|
inline int64_t abs(int64_t val) throw()
|
||||||
{
|
{
|
||||||
@ -205,6 +206,7 @@ inline int64_t abs(int64_t val) throw()
|
|||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// fmin() and fmax()
|
// fmin() and fmax()
|
||||||
#define fmin(a, b) min((double)a, (double)b)
|
#define fmin(a, b) min((double)a, (double)b)
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#define RDC_BUILD 1
|
#define RDC_BUILD 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (defined (_MSC_VER) && (_MSC_VER == 1400))
|
||||||
#ifndef __midl
|
#ifndef __midl
|
||||||
#if defined(_DEBUG) || defined (DEBUG)
|
#if defined(_DEBUG) || defined (DEBUG)
|
||||||
/* Experimental - link to the lowest DebugCRT so we can run on another system */
|
/* Experimental - link to the lowest DebugCRT so we can run on another system */
|
||||||
@ -58,6 +59,7 @@ __declspec(selectany) int _forceAtlDllManifestRTM;
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* 'stdint.h' conflicts with various other libraries so
|
/* 'stdint.h' conflicts with various other libraries so
|
||||||
let's #include stdint.h first to ensure one consistent
|
let's #include stdint.h first to ensure one consistent
|
||||||
|
Loading…
Reference in New Issue
Block a user