10225501448 李度 10225101546 陈胤遒 10215501422 高宇菲
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.

24 lines
855 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. // MSVC didn't ship with this file until the 2010 version.
  5. #ifndef STORAGE_LEVELDB_PORT_WIN_STDINT_H_
  6. #define STORAGE_LEVELDB_PORT_WIN_STDINT_H_
  7. #if !defined(_MSC_VER)
  8. #error This file should only be included when compiling with MSVC.
  9. #endif
  10. // Define C99 equivalent types.
  11. typedef signed char int8_t;
  12. typedef signed short int16_t;
  13. typedef signed int int32_t;
  14. typedef signed long long int64_t;
  15. typedef unsigned char uint8_t;
  16. typedef unsigned short uint16_t;
  17. typedef unsigned int uint32_t;
  18. typedef unsigned long long uint64_t;
  19. #endif // STORAGE_LEVELDB_PORT_WIN_STDINT_H_