Hacker News new | ask | show | jobs
by adrian_b 1561 days ago
You meant on 64-bit Windows.

On most 64-bit UNIX-like systems, long is the same with long long.

1 comments

Microsoft are the kings of backward compatibility. Since long has been 32 bits for the last 20 years, it shall remain so until the end of time. Linux compilers are free to be a little more pragmatic. The standards are flexible enough to allow either behavior.