~ubuntu-branches/ubuntu/quantal/ceph/quantal

« back to all changes in this revision

Viewing changes to src/leveldb/port/win/stdint.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-07-16 09:56:24 UTC
  • mfrom: (0.3.11)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: package-import@ubuntu.com-20120716095624-azr2w4hbhei1rxmx
Tags: upstream-0.48
ImportĀ upstreamĀ versionĀ 0.48

Show diffs side-by-side

added added

removed removed

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