[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature Branch - Windows Build Broken - VC6 no uint32_t typedef
From: |
Mark D. Baushke |
Subject: |
Re: Feature Branch - Windows Build Broken - VC6 no uint32_t typedef |
Date: |
Fri, 22 Oct 2004 22:49:19 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Conrad T. Pino <Conrad@Pino.com> writes:
> Hi All,
>
> > From: Conrad T. Pino
> > Sent: Friday, October 22, 2004 16:05
> >
> > Microsoft VC6 has neither:
> >
> > # include <inttypes.h>
> > # include <stdint.h>
> >
> > where typedef "uint32_t" is declared.
>
> I was slow to pick up on existence of "lib/stdint_.h" file.
> I tested change to Windows build to:
>
> cd lib
> copy stdint_.h stdint.h
> cd ..
>
> which is similar to other files. Unfortunately the current
> file has errors of it's own as shown at end of this message.
>
> The problem seems to be VC6 doesn't like "@" character in a
> macro name:
>
> #if @HAVE_LONG_64BIT@
> #ifdef NEED_SIGNED_INT_TYPES
> typedef long int64_t;
> #endif
> typedef unsigned long uint64_t;
> #elif @HAVE_LONGLONG_64BIT@
> #ifdef NEED_SIGNED_INT_TYPES
> typedef long long int64_t;
> #endif
> typedef unsigned long long uint64_t;
> #endif
>
> Any suggestions?
I think I have fixed this. windows-NT\stdint.h should be what you use.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFBefDf3x41pRYZE/gRAuGXAJ9oSASDeXJEdHHImXt9G2952a8NnwCfScdq
uGYCOI5bjTCQ6fa8UDQ9hNI=
=+AP/
-----END PGP SIGNATURE-----