Re: #define a phrase to be replaced by a single word

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eljay Love-Jensen wrote:
Hi Rob / Sisyphus,

Try this...

#include <stdint.h>

Unfortunately there's no such header file with either MSVC++ 6.0 or MSVC++ 7.0 ... and the same is probably true of all other MS compilers, though the 2 just mentioned are the only ones that I can access.


Tried searching MSDN for 'stdint.h' but found nothing.

This seems to work however:

#ifndef _MSC_VER
#include <stdint.h>
#else
#define int64_t _int64
#endif

And then declare any long long values as being of type 'int64_t'.

Thanks for the pointer to stdint.h.

Cheers,
Rob


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux