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:
Andrew Johnson
2011-11-29 14:07:29 -06:00
parent 54401d5426
commit 2010e58c61
+2
View File
@@ -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