作者: 谢瑞阳 10225101483 徐翔宇 10225101535
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

23 Zeilen
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_