| OLD | NEW |
| (Empty) |
| 1 /* Copyright 2013 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 Common types | |
| 16 */ | |
| 17 | |
| 18 #ifndef BROTLI_DEC_TYPES_H_ | |
| 19 #define BROTLI_DEC_TYPES_H_ | |
| 20 | |
| 21 #include <stddef.h> /* for size_t */ | |
| 22 | |
| 23 #ifndef _MSC_VER | |
| 24 #include <inttypes.h> | |
| 25 #if defined(__cplusplus) || !defined(__STRICT_ANSI__) \ | |
| 26 || __STDC_VERSION__ >= 199901L | |
| 27 #define BROTLI_INLINE inline | |
| 28 #else | |
| 29 #define BROTLI_INLINE | |
| 30 #endif | |
| 31 #else | |
| 32 typedef signed char int8_t; | |
| 33 typedef unsigned char uint8_t; | |
| 34 typedef signed short int16_t; | |
| 35 typedef unsigned short uint16_t; | |
| 36 typedef signed int int32_t; | |
| 37 typedef unsigned int uint32_t; | |
| 38 typedef unsigned long long int uint64_t; | |
| 39 typedef long long int int64_t; | |
| 40 #define BROTLI_INLINE __forceinline | |
| 41 #endif /* _MSC_VER */ | |
| 42 | |
| 43 #endif /* BROTLI_DEC_TYPES_H_ */ | |
| OLD | NEW |