Changeset 1687


Ignore:
Timestamp:
Sep 15, 2010 9:09:50 PM (11 years ago)
Author:
lou
Message:

Use MS BaseTsd?.h for 64-bit types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/headers/configall_system_msc.h

    r1659 r1687  
    22 * system and compiler dependent configuration macros */
    33
    4 /* Define to 64bit integer types */
     4/*
     5  Microsoft defines types in BaseTsd.h, part of the Windows SDK. Given
     6  that this file only gets used in the Visual Studio environment, it
     7  seems to me we'll be better off simply including it and using the
     8  types MS defines. But since I have no idea of history here, I'll leave
     9  all of this inside the guard for MSC_VER >= 1200. If you're reading this
     10  and have been developing in MSVS long enough to know, fix it.  -- lh, 100915 --
     11*/
    512#if _MSC_VER >= 1200
    6 #define COIN_INT64_T __int64
    7 #define COIN_UINT64_T __uint64
     13# include <BaseTsd.h>
     14#endif
     15
     16/* Define to 64bit integer types. Note that MS does not provide __uint64. */
     17#if _MSC_VER >= 1200
     18# define COIN_INT64_T INT64
     19# define COIN_UINT64_T UINT64
    820#else
    9 #define COIN_INT64_T long long
    10 #define COIN_UINT64_T unsigned long long
     21# define COIN_INT64_T long long
     22# define COIN_UINT64_T unsigned long long
    1123#endif
    1224
Note: See TracChangeset for help on using the changeset viewer.