gcc
컴파일러 구분(버젼) 메크로 : __GNUG__
64bit data type : long long, unsigned long long
formatting: %lld(signed) %llu(unsigned) %llx(hex)
suffix: LL, ULL
Visual C++
컴파일러 구분(버젼) 메크로 : _MSC_VER
64bit data type : __int64, unsigned __int64
formatting: %I64d(signed) %I64u(unsigned) %I64x(hex)
suffix: i64
GeSHi © 2004, Nigel McNie
// DiffResKey 데이타타입(64q비트) 설정
#ifdef _MSC_VER
typedef unsigned __int64 DiffResKey;
#endif
#ifdef __GNUG__
typedef unsigned long long DiffResKey;
#endif
Parsed in 0.008 seconds
출처 : http://itsme.egloos.com/195614/