24811712 python built in C99 mode breaks the build
authorYiteng Zhang <yiteng.zhang@oracle.com>
Tue, 11 Oct 2016 14:41:18 -0700
changeset 3454 32b88fa72149
parent 3453 b89da41151ad
child 3455 63f3f959dde3
24811712 python built in C99 mode breaks the build
src/cffi_src/build_sysattr.py
--- a/src/cffi_src/build_sysattr.py	Tue Oct 11 13:10:47 2016 -0700
+++ b/src/cffi_src/build_sysattr.py	Tue Oct 11 14:41:18 2016 -0700
@@ -21,7 +21,7 @@
 #
 
 #
-# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
 from __future__ import unicode_literals
@@ -126,7 +126,7 @@
     data_type_t nvp_type;       /* type of value */
 } nvpair_t;
 
-typedef enum { B_FALSE = 0, B_TRUE = 1, _B_FALSE = 0, _B_TRUE = 1 } boolean_t;
+typedef enum { _B_FALSE = 0, _B_TRUE = 1 } boolean_t;
 typedef	unsigned int uint_t;
 
 /* Functions */