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