Patch level :4.0 840
Files correlati : Ricompilazione Demo : [ ] Commento :aggiunto include per definizione di INT_MAX git-svn-id: svn://10.65.10.50/trunk@15866 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8257473361
commit
376ed6df6f
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include "agasys.h"
|
#include "agasys.h"
|
||||||
#include "fstrcmp.h"
|
#include "fstrcmp.h"
|
||||||
|
#include <limits.h>
|
||||||
#include "matche.h"
|
#include "matche.h"
|
||||||
|
|
||||||
#include "xvtpdf.h"
|
#include "xvtpdf.h"
|
||||||
@ -2158,7 +2159,7 @@ long xvt_fsys_file_attr(const char* path, long attr)
|
|||||||
case XVT_FILE_ATTR_SIZE:
|
case XVT_FILE_ATTR_SIZE:
|
||||||
{
|
{
|
||||||
const wxULongLong sz = wxFileName::GetSize(name);
|
const wxULongLong sz = wxFileName::GetSize(name);
|
||||||
ret = sz.GetHi() != 0 ? MAXINT : sz.GetLo();
|
ret = sz.GetHi() != 0 ? INT_MAX : sz.GetLo();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case XVT_FILE_ATTR_MTIME:
|
case XVT_FILE_ATTR_MTIME:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user