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)
|
list(APPEND SOURCES io_nix.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MSVC AND MSVC_VERSION LESS 1600)
|
if(MSVC)
|
||||||
list(APPEND API wiiuse_msvcstdint.h)
|
list(APPEND API wiiuse_msvcstdint.h)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
@@ -37,8 +37,11 @@
|
|||||||
#ifndef EVENTS_H_INCLUDED
|
#ifndef EVENTS_H_INCLUDED
|
||||||
#define EVENTS_H_INCLUDED
|
#define EVENTS_H_INCLUDED
|
||||||
|
|
||||||
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
#if defined(_MSC_VER)
|
||||||
/* MS compilers of pre-VC2010 versions don't have stdint.h */
|
/* 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"
|
#include "wiiuse_msvcstdint.h"
|
||||||
#else
|
#else
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -76,8 +76,11 @@
|
|||||||
#define WCONST const
|
#define WCONST const
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
#if defined(_MSC_VER)
|
||||||
/* MS compilers of pre-VC2010 versions don't have stdint.h */
|
/* 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"
|
#include "wiiuse_msvcstdint.h"
|
||||||
#else
|
#else
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -53,8 +53,11 @@
|
|||||||
|
|
||||||
#include "definitions.h"
|
#include "definitions.h"
|
||||||
|
|
||||||
#if defined(_MSC_VER) && (_MSC_VER < 1600)
|
#if defined(_MSC_VER)
|
||||||
/* MS compilers of pre-VC2010 versions don't have stdint.h */
|
/* 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"
|
#include "wiiuse_msvcstdint.h"
|
||||||
#else
|
#else
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user