Ninja
win32port.h
Go to the documentation of this file.
1 // Copyright 2012 Google Inc. All Rights Reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef NINJA_WIN32PORT_H_
16 #define NINJA_WIN32PORT_H_
17 
18 typedef signed short int16_t;
19 typedef unsigned short uint16_t;
20 /// A 64-bit integer type
21 typedef signed long long int64_t;
22 typedef unsigned long long uint64_t;
23 
24 // printf format specifier for uint64_t, from C99.
25 #ifndef PRIu64
26 #define PRIu64 "I64u"
27 #define PRIx64 "I64x"
28 #endif
29 
30 #endif // NINJA_WIN32PORT_H_
31 
signed long long int64_t
A 64-bit integer type.
Definition: win32port.h:21
signed short int16_t
Definition: win32port.h:18
unsigned short uint16_t
Definition: win32port.h:19
unsigned long long uint64_t
Definition: win32port.h:22