aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter Kasting <pkasting@google.com>2015-08-27 14:16:10 -0700
committerPeter Kasting <pkasting@google.com>2015-08-27 14:16:10 -0700
commit2e789bc246144a1b8a3fba5e4de3105089498674 (patch)
tree322783ad5a7c5dcffdb1c911d102d21d3c0c0649 /python
parentc7a1f8ec3b7ab4f6763e4d5c2663ad39e13a6aa0 (diff)
downloadprotobuf-2e789bc246144a1b8a3fba5e4de3105089498674.tar.gz
protobuf-2e789bc246144a1b8a3fba5e4de3105089498674.tar.bz2
protobuf-2e789bc246144a1b8a3fba5e4de3105089498674.zip
Avoid #including system headers from inside a namespace.
port.h #includes various headers in order to define byteswap functions, but it currently does so from inside the google::protobuf namespace. This can cause bizarre symbol conflicts and other build errors as these headers' contents are then included inside this namespace. Instead, #include the relevant headers above the namespace declarations.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions