Add Google's LevelDB support
[novacoin.git] / src / leveldb / port / port.h
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)
14 #  include "port/port_posix.h"
15 #elif defined(LEVELDB_PLATFORM_CHROMIUM)
16 #  include "port/port_chromium.h"
17 #elif defined(LEVELDB_PLATFORM_WINDOWS)
18 #  include "port/port_win.h"
19 #endif
20
21 #endif  // STORAGE_LEVELDB_PORT_PORT_H_