作者: 谢瑞阳 10225101483 徐翔宇 10225101535
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

24 lignes
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_