作者: 韩晨旭 10225101440 李畅 10225102463
Não pode escolher mais do que 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.

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