ref: c48f47ab19968f3f640602bf501a3ec9e80dcb4f
parent: 9add9883b16b8e361405bd3d4c43af9484bae8e6
parent: f21fffda3b5af91bd8007094cdd629f1383ba3ce
author: HaiboZhu <[email protected]>
date: Sun Sep 6 05:51:44 EDT 2015
Merge pull request #2099 from nathankidd/master Use stdbool.h with Visual Studio 2013 or higher
--- a/codec/api/svc/codec_api.h
+++ b/codec/api/svc/codec_api.h
@@ -36,7 +36,7 @@
#define WELS_VIDEO_CODEC_SVC_API_H__
#ifndef __cplusplus
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && (_MSC_VER < 1800)
typedef unsigned char bool;
#else
#include <stdbool.h>