Commit f3a10097 authored by Lev Walkin's avatar Lev Walkin Committed by GitHub

Merge pull request #128 from akire/windows-universal-build

Windows universal build
parents 9e0bf1b8 e088a2b0
...@@ -47,12 +47,16 @@ ...@@ -47,12 +47,16 @@
#endif #endif
#ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */ #ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */
#define ssize_t SSIZE_T #define ssize_t SSIZE_T
#if _MSC_VER < 1600
typedef char int8_t; typedef char int8_t;
typedef short int16_t; typedef short int16_t;
typedef int int32_t; typedef int int32_t;
typedef unsigned char uint8_t; typedef unsigned char uint8_t;
typedef unsigned short uint16_t; typedef unsigned short uint16_t;
typedef unsigned int uint32_t; typedef unsigned int uint32_t;
#else /* _MSC_VER >= 1600 */
#include <stdint.h>
#endif /* _MSC_VER < 1600 */
#endif /* ASSUMESTDTYPES */ #endif /* ASSUMESTDTYPES */
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment