OLD | NEW |
1 // Copyright 2008 Google, Inc. All Rights reserved | 1 // Copyright 2008 Google, Inc. All Rights reserved |
2 // | 2 // |
3 // Redistribution and use in source and binary forms, with or without | 3 // Redistribution and use in source and binary forms, with or without |
4 // modification, are permitted provided that the following conditions are | 4 // modification, are permitted provided that the following conditions are |
5 // met: | 5 // met: |
6 // | 6 // |
7 // * Redistributions of source code must retain the above copyright | 7 // * Redistributions of source code must retain the above copyright |
8 // notice, this list of conditions and the following disclaimer. | 8 // notice, this list of conditions and the following disclaimer. |
9 // * Redistributions in binary form must reproduce the above | 9 // * Redistributions in binary form must reproduce the above |
10 // copyright notice, this list of conditions and the following disclaimer | 10 // copyright notice, this list of conditions and the following disclaimer |
(...skipping 27 matching lines...) Expand all Loading... |
38 typedef signed char int8; | 38 typedef signed char int8; |
39 typedef short int16; | 39 typedef short int16; |
40 typedef int int32; | 40 typedef int int32; |
41 typedef long long int64; | 41 typedef long long int64; |
42 | 42 |
43 typedef unsigned char uint8; | 43 typedef unsigned char uint8; |
44 typedef unsigned short uint16; | 44 typedef unsigned short uint16; |
45 typedef unsigned int uint32; | 45 typedef unsigned int uint32; |
46 typedef unsigned long long uint64; | 46 typedef unsigned long long uint64; |
47 | 47 |
48 #ifdef __PTRDIFF_TYPE__ | 48 typedef intptr_t intptr; |
49 typedef __PTRDIFF_TYPE__ intptr; | 49 typedef uintptr_t uintptr; |
50 typedef unsigned __PTRDIFF_TYPE__ uintptr; | |
51 #else | |
52 #error "Can't find pointer-sized integral types." | |
53 #endif | |
54 | 50 |
55 #endif // _COMMON_DWARF_TYPES_H__ | 51 #endif // _COMMON_DWARF_TYPES_H__ |
OLD | NEW |