1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. |
4 | |
5 | #ifndef STORAGE_LEVELDB_PORT_PORT_H_ |
6 | #define STORAGE_LEVELDB_PORT_PORT_H_ |
7 | |
8 | #include <string.h> |
9 | |
10 | // Include the appropriate platform specific file below. If you are |
11 | // porting to a new platform, see "port_example.h" for documentation |
12 | // of what the new port_<platform>.h file must provide. |
13 | #if defined(LEVELDB_PLATFORM_POSIX) || defined(LEVELDB_PLATFORM_WINDOWS) |
14 | #include "port/port_stdcxx.h" |
15 | #elif defined(LEVELDB_PLATFORM_CHROMIUM) |
16 | #include "port/port_chromium.h" |
17 | #endif |
18 | |
19 | #endif // STORAGE_LEVELDB_PORT_PORT_H_ |
20 | |