mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Use ULL suffix for unsigned 64bit integer constants with Visual Studio 2013
--HG-- branch : develop
This commit is contained in:
parent
54ae2da0a6
commit
cb52c7ee7e
1 changed files with 5 additions and 1 deletions
|
@ -463,7 +463,11 @@ typedef uint16 ucchar;
|
||||||
|
|
||||||
// To define a 64bits constant; ie: UINT64_CONSTANT(0x123456781234)
|
// To define a 64bits constant; ie: UINT64_CONSTANT(0x123456781234)
|
||||||
#ifdef NL_COMP_VC
|
#ifdef NL_COMP_VC
|
||||||
# if (NL_COMP_VC_VERSION >= 80)
|
# if (NL_COMP_VC_VERSION >= 120)
|
||||||
|
# define INT64_CONSTANT(c) (c##LL)
|
||||||
|
# define SINT64_CONSTANT(c) (c##LL)
|
||||||
|
# define UINT64_CONSTANT(c) (c##ULL)
|
||||||
|
# elif (NL_COMP_VC_VERSION >= 80)
|
||||||
# define INT64_CONSTANT(c) (c##LL)
|
# define INT64_CONSTANT(c) (c##LL)
|
||||||
# define SINT64_CONSTANT(c) (c##LL)
|
# define SINT64_CONSTANT(c) (c##LL)
|
||||||
# define UINT64_CONSTANT(c) (c##LL)
|
# define UINT64_CONSTANT(c) (c##LL)
|
||||||
|
|
Loading…
Reference in a new issue