libCom/win32: Conditionally define MINLONGLONG
Some version of Visual Studio define MAXLONGLONG but not MINLONGLONG, so they need separate checks.
This commit is contained in:
@@ -60,6 +60,8 @@ static int osdTimeGetCurrent ( epicsTimeStamp *pDest );
|
||||
// for mingw
|
||||
#if !defined ( MAXLONGLONG )
|
||||
#define MAXLONGLONG LL_CONSTANT(0x7fffffffffffffff)
|
||||
#endif
|
||||
#if !defined ( MINLONGLONG )
|
||||
#define MINLONGLONG LL_CONSTANT(~0x7fffffffffffffff)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user