mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
Move #include
outside of namespace (#4629)
Summary: clang modules warns about `#include`s inside of namespaces. Pull Request resolved: https://github.com/facebook/rocksdb/pull/4629 Reviewed By: ajkr Differential Revision: D12927333 Pulled By: andrewjcg fbshipit-source-id: a9e0b069e63d8224f78b7c3be1c3acf09bb83d3f
This commit is contained in:
parent
d7a04383d1
commit
0148f717ff
|
@ -58,7 +58,15 @@ It depends on successfully passing SMHasher test set.
|
|||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#if !defined(__VMS) && \
|
||||
(defined(__cplusplus) || \
|
||||
(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */))
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#if defined (__cplusplus)
|
||||
namespace rocksdb {
|
||||
#endif
|
||||
|
@ -196,7 +204,6 @@ XXH64_hash_t XXH64_hashFromCanonical(const XXH64_canonical_t* src);
|
|||
#if !defined(__VMS) && \
|
||||
(defined(__cplusplus) || \
|
||||
(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */))
|
||||
#include <stdint.h>
|
||||
|
||||
struct XXH64_state_s {
|
||||
uint64_t total_len;
|
||||
|
|
Loading…
Reference in a new issue