remove #include port/port.h in public header file#2336
remove #include port/port.h in public header file#2336lightmark wants to merge 3 commits intofacebook:masterfrom
Conversation
yiwu-arbug
left a comment
There was a problem hiding this comment.
please remove the include from iostat_context.h as well. Thanks!
|
@lightmark updated the pull request - view changes |
|
@yiwu-arbug has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@lightmark updated the pull request - view changes - changes since last import |
|
@lightmark has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
This PR does not fully fix the issue. Public headers should not reference RocksDB-specific macros (like ROCKSDB_SUPPORT_THREAD_LOCAL in this case). When external projects are compiled against public headers, they do not have this macro defined. This leads to a compile error such as this: |
|
@igorcanadi Yes, we realized that the introduction of this flag to public header files may be wrong. I have reverted it from 5.5 release. We need to figure out how to deal with it in master. |
|
@igorcanadi #2380 may solve the problem. |
break internal build