On 15/09/06, Michał Król <[EMAIL PROTECTED]> wrote:
> On 15/09/06, Brian Paul <[EMAIL PROTECTED]> wrote:
> > Otherwise, can you find a working #ifdef test for Windows?
> >
>
> Change this:
>
>
> #elif defined(__UNIXOS2__) || defined(__SOL64__)
> typedef long int int32_t;
> typedef long long int int64_t;
> typedef unsigned long long int uint64_t;
> #elif defined(WIN32) && defined(__GNUC__)
> #include <stdint.h>
> #else
> #include <inttypes.h>     /* Fallback option */
> #endif
> #endif
>
>
> to this:
>
>
> #elif defined(__UNIXOS2__) || defined(__SOL64__)
> typedef long int int32_t;
> typedef long long int int64_t;
> typedef unsigned long long int uint64_t;
> #elif defined(WIN32) && defined(_MSC_VER)
> typedef long int int32_t;
> typedef __int64 int64_t;
> typedef unsigned __int64 uint64_t;
> #elif defined(WIN32) && defined(__GNUC__)
> #include <stdint.h>
> #else
> #include <inttypes.h>     /* Fallback option */
> #endif
> #endif
>

I don't own VC7, but further changing this:


#elif defined(WIN32) && defined(_MSC_VER)


to this:


#elif defined(WIN32) && defined(_MSC_VER) && _MSC_VER<1300


should work on VC6 and VC7, but the previous code should not break
VC7 either.

-- 
Pozdrawiam,
Michal Krol
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to