作者: 谢瑞阳 10225101483 徐翔宇 10225101535
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

23 linhas
835 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. #elif defined(LEVELDB_PLATFORM_OSX)
  17. # include "port/port_osx.h"
  18. #endif
  19. #endif // STORAGE_LEVELDB_PORT_PORT_H_