Commit 4e89eac8 authored by Sergey Lyubka's avatar Sergey Lyubka

Integrate cesanta/dev#1074 - Fix typedef bool for MSC

PUBLISHED_FROM=f52fe15edd617d9f1ba2aa4051c116e79671554d
parent b015e33e
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
#include <windows.h> #include <windows.h>
#include <process.h> #include <process.h>
#if _MSC_VER < 1700 #if defined(_MSC_VER) && (_MSC_VER < 1700)
typedef int bool; typedef int bool;
#else #else
#include <stdbool.h> #include <stdbool.h>
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#include <windows.h> #include <windows.h>
#include <process.h> #include <process.h>
#if _MSC_VER < 1700 #if defined(_MSC_VER) && (_MSC_VER < 1700)
typedef int bool; typedef int bool;
#else #else
#include <stdbool.h> #include <stdbool.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