作者: 谢瑞阳 10225101483 徐翔宇 10225101535

19 lignes
697 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. #endif
  15. #endif // STORAGE_LEVELDB_PORT_PORT_H_