From 25dcb8506b24988f6ae943a7f08c91fdb8cbc52e Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Tue, 29 Apr 2014 14:32:31 +0100 Subject: cmake: Fix stdbool.h for MSVC 2013. Reviewed-by: Brian Paul --- include/msvc/c99/stdbool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/msvc/c99/stdbool.h b/include/msvc/c99/stdbool.h index 99a735dfa..dd5525548 100644 --- a/include/msvc/c99/stdbool.h +++ b/include/msvc/c99/stdbool.h @@ -1,6 +1,6 @@ /************************************************************************** * - * Copyright 2007-2010 VMware, Inc. + * Copyright 2007-2014 VMware, Inc. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a @@ -35,7 +35,7 @@ #define bool _Bool /* For compilers that don't have the builtin _Bool type. */ -#if defined(_MSC_VER) || (__STDC_VERSION__ < 199901L && __GNUC__ < 3) +#if (defined(_MSC_VER) && _MSC_VER < 1800) || (__STDC_VERSION__ < 199901L && __GNUC__ < 3) typedef unsigned char _Bool; #endif -- cgit v1.2.3