25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
735 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) || defined(LEVELDB_PLATFORM_WINDOWS)
  11. # include "port/port_stdcxx.h"
  12. #elif defined(LEVELDB_PLATFORM_CHROMIUM)
  13. # include "port/port_chromium.h"
  14. #endif
  15. #endif // STORAGE_LEVELDB_PORT_PORT_H_