diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-04-29 14:32:31 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-04-30 10:41:54 +0100 |
commit | 25dcb8506b24988f6ae943a7f08c91fdb8cbc52e (patch) | |
tree | 58aca7fb09ea56345883af548c60eb120367eb06 /include | |
parent | 34f2a5d35ec7637e3ad9fcdf35959ce45f3cd254 (diff) |
cmake: Fix stdbool.h for MSVC 2013.
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/msvc/c99/stdbool.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |