mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Fix Win64 compilation
This commit is contained in:
parent
fcd3bfd15c
commit
a902f1628b
@ -47,15 +47,13 @@ __published:
|
|||||||
class ios : public ios_base {
|
class ios : public ios_base {
|
||||||
__published:
|
__published:
|
||||||
typedef long fmtflags;
|
typedef long fmtflags;
|
||||||
#ifdef _WIN64
|
#if defined(_WIN64) || !defined(_WIN32)
|
||||||
typedef unsigned __int64 streampos;
|
|
||||||
typedef __int64 streamoff;
|
|
||||||
#elif defined(_WIN32)
|
|
||||||
typedef unsigned long streampos;
|
|
||||||
typedef long streamoff;
|
|
||||||
#else
|
|
||||||
typedef unsigned long long streampos;
|
typedef unsigned long long streampos;
|
||||||
typedef long long streamoff;
|
typedef long long streamoff;
|
||||||
|
#else
|
||||||
|
// 32-bit Windows uses 32-bit stream offsets.
|
||||||
|
typedef unsigned long streampos;
|
||||||
|
typedef long streamoff;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool good() const;
|
bool good() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user