VirtualBox

Changeset 2766 in kBuild for trunk/src/kmk/config.h.win


Ignore:
Timestamp:
Jan 30, 2015 3:32:38 AM (10 years ago)
Author:
bird
Message:

MSC seems to have stdint.h in more recent editions. kewl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/config.h.win

    r2759 r2766  
    222222
    223223/* Define to 1 if you have the <stdint.h> header file. */
    224 /*#define HAVE_STDINT_H 1*/
     224#if _MSC_VER >= 1600
     225# define HAVE_STDINT_H 1
     226#endif
    225227
    226228/* Define to 1 if you have the <stdlib.h> header file. */
     
    447449
    448450/* Define uintmax_t if not defined in <stdint.h> or <inttypes.h>. */
    449 #if 0
    450 #define uintmax_t unsigned long
    451 #else
    452 #define uintmax_t unsigned __int64
     451#if _MSC_VER < 1600
     452# if 0
     453#  define uintmax_t unsigned long
     454# else
     455#  define uintmax_t unsigned __int64
     456# endif
    453457#endif
    454458
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette