diff options
author | Sean Lu <luyixiang@gmail.com> | 2017-01-19 11:56:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-19 11:56:08 -0800 |
commit | e41b667da50d582ac8e38cfea4af4e78261f2ad3 (patch) | |
tree | e7bd30c96cf47d6e2003779dc14573ce5614d1a7 /src/solaris | |
parent | 047575f20cbdee8fb2f88d78a317ffe6133b93e6 (diff) | |
download | protobuf-e41b667da50d582ac8e38cfea4af4e78261f2ad3.tar.gz protobuf-e41b667da50d582ac8e38cfea4af4e78261f2ad3.tar.bz2 protobuf-e41b667da50d582ac8e38cfea4af4e78261f2ad3.zip |
Undef TYPE_BOOL to avoid conflict with iOS.
TYPE_BOOL is defined as a macro in <ConditionalMacros.h>, which gets implicitly included in almost all iOS source files.
This fixes complaints like http://go/soverflow/15759559
For some context, here is how TYPE_BOOL is defined in ConditionalMacros.h
#ifdef __cplusplus
#define TYPE_BOOL 1
#else
#define TYPE_BOOL 0
#endif
Diffstat (limited to 'src/solaris')
0 files changed, 0 insertions, 0 deletions