apparently visual studio 2010's stdint.h isn't all it's cracked up to be.
This commit is contained in:
@@ -29,7 +29,7 @@ else()
|
||||
list(APPEND SOURCES io_nix.c)
|
||||
endif()
|
||||
|
||||
if(MSVC AND MSVC_VERSION LESS 1600)
|
||||
if(MSVC)
|
||||
list(APPEND API wiiuse_msvcstdint.h)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -37,8 +37,11 @@
|
||||
#ifndef EVENTS_H_INCLUDED
|
||||
#define EVENTS_H_INCLUDED
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
||||
/* MS compilers of pre-VC2010 versions don't have stdint.h */
|
||||
#if defined(_MSC_VER)
|
||||
/* MS compilers of pre-VC2010 versions don't have stdint.h
|
||||
* and I can't get VC2010's stdint.h to compile nicely in
|
||||
* WiiUse
|
||||
*/
|
||||
#include "wiiuse_msvcstdint.h"
|
||||
#else
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -76,8 +76,11 @@
|
||||
#define WCONST const
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
||||
/* MS compilers of pre-VC2010 versions don't have stdint.h */
|
||||
#if defined(_MSC_VER)
|
||||
/* MS compilers of pre-VC2010 versions don't have stdint.h
|
||||
* and I can't get VC2010's stdint.h to compile nicely in
|
||||
* WiiUse
|
||||
*/
|
||||
#include "wiiuse_msvcstdint.h"
|
||||
#else
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -53,8 +53,11 @@
|
||||
|
||||
#include "definitions.h"
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
||||
/* MS compilers of pre-VC2010 versions don't have stdint.h */
|
||||
#if defined(_MSC_VER)
|
||||
/* MS compilers of pre-VC2010 versions don't have stdint.h
|
||||
* and I can't get VC2010's stdint.h to compile nicely in
|
||||
* WiiUse
|
||||
*/
|
||||
#include "wiiuse_msvcstdint.h"
|
||||
#else
|
||||
#include <stdint.h>
|
||||
|
||||
Reference in New Issue
Block a user