作者: 韩晨旭 10225101440 李畅 10225102463
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
770 B

  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. #ifndef STORAGE_LEVELDB_PORT_PORT_H_
  5. #define STORAGE_LEVELDB_PORT_PORT_H_
  6. #include <string.h>
  7. // Include the appropriate platform specific file below. If you are
  8. // porting to a new platform, see "port_example.h" for documentation
  9. // of what the new port_<platform>.h file must provide.
  10. #if defined(LEVELDB_PLATFORM_POSIX)
  11. # include "port/port_posix.h"
  12. #elif defined(LEVELDB_PLATFORM_CHROMIUM)
  13. # include "port/port_chromium.h"
  14. #elif defined(LEVELDB_PLATFORM_ANDROID)
  15. # include "port/port_android.h"
  16. #endif
  17. #endif // STORAGE_LEVELDB_PORT_PORT_H_