File tree 21 files changed +61
-0
lines changed
include/rocksdb/utilities
21 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 9
9
10
10
#include " db/compaction.h"
11
11
12
+ #ifndef __STDC_FORMAT_MACROS
12
13
#define __STDC_FORMAT_MACROS
14
+ #endif
15
+
13
16
#include < inttypes.h>
14
17
#include < vector>
15
18
Original file line number Diff line number Diff line change 9
9
10
10
#include " db/compaction_picker.h"
11
11
12
+ #ifndef __STDC_FORMAT_MACROS
12
13
#define __STDC_FORMAT_MACROS
14
+ #endif
15
+
13
16
#include < inttypes.h>
14
17
#include < limits>
15
18
#include " db/filename.h"
Original file line number Diff line number Diff line change 7
7
// Use of this source code is governed by a BSD-style license that can be
8
8
// found in the LICENSE file. See the AUTHORS file for names of contributors.
9
9
10
+ #ifndef __STDC_FORMAT_MACROS
10
11
#define __STDC_FORMAT_MACROS
12
+ #endif
11
13
12
14
#ifndef GFLAGS
13
15
#include < cstdio>
Original file line number Diff line number Diff line change 9
9
10
10
#ifndef ROCKSDB_LITE
11
11
12
+ #ifndef __STDC_FORMAT_MACROS
12
13
#define __STDC_FORMAT_MACROS
14
+ #endif
15
+
13
16
#include < inttypes.h>
14
17
#include < algorithm>
15
18
#include < string>
Original file line number Diff line number Diff line change 9
9
10
10
#include " db/db_impl.h"
11
11
12
+ #ifndef __STDC_FORMAT_MACROS
12
13
#define __STDC_FORMAT_MACROS
14
+ #endif
15
+
13
16
#include < inttypes.h>
14
17
#include < algorithm>
15
18
#include < climits>
Original file line number Diff line number Diff line change 6
6
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
7
7
// Use of this source code is governed by a BSD-style license that can be
8
8
// found in the LICENSE file. See the AUTHORS file for names of contributors.
9
+ #ifndef __STDC_FORMAT_MACROS
9
10
#define __STDC_FORMAT_MACROS
11
+ #endif
12
+
10
13
#include " db/filename.h"
11
14
#include < inttypes.h>
12
15
Original file line number Diff line number Diff line change 7
7
// found in the LICENSE file. See the AUTHORS file for names of contributors.
8
8
9
9
#include " db/internal_stats.h"
10
+
11
+ #ifndef __STDC_FORMAT_MACROS
10
12
#define __STDC_FORMAT_MACROS
13
+ #endif
14
+
11
15
#include < inttypes.h>
12
16
#include < vector>
13
17
#include " db/column_family.h"
Original file line number Diff line number Diff line change 31
31
32
32
#ifndef ROCKSDB_LITE
33
33
34
+ #ifndef __STDC_FORMAT_MACROS
34
35
#define __STDC_FORMAT_MACROS
36
+ #endif
37
+
35
38
#include < inttypes.h>
36
39
#include " db/builder.h"
37
40
#include " db/db_impl.h"
Original file line number Diff line number Diff line change 9
9
10
10
#include " db/version_set.h"
11
11
12
+ #ifndef __STDC_FORMAT_MACROS
12
13
#define __STDC_FORMAT_MACROS
14
+ #endif
15
+
13
16
#include < inttypes.h>
14
17
#include < algorithm>
15
18
#include < map>
Original file line number Diff line number Diff line change 10
10
#pragma once
11
11
#ifndef ROCKSDB_LITE
12
12
13
+ #ifndef __STDC_FORMAT_MACROS
13
14
#define __STDC_FORMAT_MACROS
15
+ #endif
16
+
14
17
#include < inttypes.h>
15
18
#include < string>
16
19
#include < map>
Original file line number Diff line number Diff line change @@ -11,7 +11,10 @@ int main() {
11
11
}
12
12
#else
13
13
14
+ #ifndef __STDC_FORMAT_MACROS
14
15
#define __STDC_FORMAT_MACROS
16
+ #endif
17
+
15
18
#include < inttypes.h>
16
19
#include < gflags/gflags.h>
17
20
#include < vector>
Original file line number Diff line number Diff line change 6
6
// Must not be included from any .h files to avoid polluting the namespace
7
7
// with macros.
8
8
9
+ #ifndef __STDC_FORMAT_MACROS
9
10
#define __STDC_FORMAT_MACROS
11
+ #endif
12
+
10
13
#include < inttypes.h>
11
14
#include < stdio.h>
12
15
#include < string>
Original file line number Diff line number Diff line change @@ -11,7 +11,10 @@ int main() {
11
11
}
12
12
#else
13
13
14
+ #ifndef __STDC_FORMAT_MACROS
14
15
#define __STDC_FORMAT_MACROS
16
+ #endif
17
+
15
18
#include < inttypes.h>
16
19
#include < algorithm>
17
20
#include < gflags/gflags.h>
Original file line number Diff line number Diff line change 9
9
10
10
#include " util/logging.h"
11
11
12
+ #ifndef __STDC_FORMAT_MACROS
12
13
#define __STDC_FORMAT_MACROS
14
+ #endif
15
+
13
16
#include < inttypes.h>
14
17
#include < errno.h>
15
18
#include < stdarg.h>
Original file line number Diff line number Diff line change 10
10
#include " rocksdb/options.h"
11
11
#include " rocksdb/immutable_options.h"
12
12
13
+ #ifndef __STDC_FORMAT_MACROS
13
14
#define __STDC_FORMAT_MACROS
15
+ #endif
16
+
14
17
#include < inttypes.h>
15
18
#include < limits>
16
19
Original file line number Diff line number Diff line change 7
7
// Use of this source code is governed by a BSD-style license that can be
8
8
// found in the LICENSE file. See the AUTHORS file for names of contributors.
9
9
10
+ #ifndef __STDC_FORMAT_MACROS
10
11
#define __STDC_FORMAT_MACROS
12
+ #endif
13
+
11
14
#include < inttypes.h>
12
15
#include < gflags/gflags.h>
13
16
Original file line number Diff line number Diff line change 7
7
// Use of this source code is governed by a BSD-style license that can be
8
8
// found in the LICENSE file. See the AUTHORS file for names of contributors.
9
9
10
+ #ifndef __STDC_FORMAT_MACROS
10
11
#define __STDC_FORMAT_MACROS
12
+ #endif
13
+
11
14
#include < inttypes.h>
12
15
#include < limits>
13
16
#include " util/testharness.h"
Original file line number Diff line number Diff line change 5
5
//
6
6
#include " util/statistics.h"
7
7
8
+ #ifndef __STDC_FORMAT_MACROS
8
9
#define __STDC_FORMAT_MACROS
10
+ #endif
11
+
9
12
#include < inttypes.h>
10
13
#include " rocksdb/statistics.h"
11
14
#include " port/likely.h"
Original file line number Diff line number Diff line change 15
15
#include " util/crc32c.h"
16
16
#include " rocksdb/transaction_log.h"
17
17
18
+ #ifndef __STDC_FORMAT_MACROS
18
19
#define __STDC_FORMAT_MACROS
20
+ #endif
19
21
20
22
#include < inttypes.h>
21
23
#include < algorithm>
Original file line number Diff line number Diff line change 6
6
7
7
#include " rocksdb/utilities/json_document.h"
8
8
9
+ #ifndef __STDC_FORMAT_MACROS
9
10
#define __STDC_FORMAT_MACROS
11
+ #endif
12
+
10
13
#include < inttypes.h>
11
14
#include < cassert>
12
15
#include < string>
Original file line number Diff line number Diff line change 7
7
8
8
#include " utilities/geodb/geodb_impl.h"
9
9
10
+ #ifndef __STDC_FORMAT_MACROS
10
11
#define __STDC_FORMAT_MACROS
12
+ #endif
11
13
12
14
#include < vector>
13
15
#include < map>
You can’t perform that action at this time.
0 commit comments