OLD | NEW |
1 // qcms | 1 // qcms |
2 // Copyright (C) 2009 Mozilla Foundation | 2 // Copyright (C) 2009 Mozilla Foundation |
3 // | 3 // |
4 // Permission is hereby granted, free of charge, to any person obtaining | 4 // Permission is hereby granted, free of charge, to any person obtaining |
5 // a copy of this software and associated documentation files (the "Software"), | 5 // a copy of this software and associated documentation files (the "Software"), |
6 // to deal in the Software without restriction, including without limitation | 6 // to deal in the Software without restriction, including without limitation |
7 // the rights to use, copy, modify, merge, publish, distribute, sublicense, | 7 // the rights to use, copy, modify, merge, publish, distribute, sublicense, |
8 // and/or sell copies of the Software, and to permit persons to whom the Softwar
e | 8 // and/or sell copies of the Software, and to permit persons to whom the Softwar
e |
9 // is furnished to do so, subject to the following conditions: | 9 // is furnished to do so, subject to the following conditions: |
10 // | 10 // |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 typedef unsigned __int8 uint8_t; | 80 typedef unsigned __int8 uint8_t; |
81 typedef __int16 int16_t; | 81 typedef __int16 int16_t; |
82 typedef unsigned __int16 uint16_t; | 82 typedef unsigned __int16 uint16_t; |
83 typedef __int32 int32_t; | 83 typedef __int32 int32_t; |
84 typedef unsigned __int32 uint32_t; | 84 typedef unsigned __int32 uint32_t; |
85 typedef __int64 int64_t; | 85 typedef __int64 int64_t; |
86 typedef unsigned __int64 uint64_t; | 86 typedef unsigned __int64 uint64_t; |
87 #ifdef _WIN64 | 87 #ifdef _WIN64 |
88 typedef unsigned __int64 uintptr_t; | 88 typedef unsigned __int64 uintptr_t; |
89 #else | 89 #else |
| 90 #pragma warning(push) |
| 91 /* Disable benign redefinition of type warning 4142 */ |
| 92 #pragma warning(disable:4142) |
90 typedef unsigned long uintptr_t; | 93 typedef unsigned long uintptr_t; |
| 94 /* Restore warnings */ |
| 95 #pragma warning(pop) |
91 #endif | 96 #endif |
92 | 97 |
93 #elif defined (_AIX) | 98 #elif defined (_AIX) |
94 # include <sys/inttypes.h> | 99 # include <sys/inttypes.h> |
95 #else | 100 #else |
96 # include <stdint.h> | 101 # include <stdint.h> |
97 #endif | 102 #endif |
98 | 103 |
99 #endif | 104 #endif |
100 | 105 |
101 typedef qcms_bool bool; | 106 typedef qcms_bool bool; |
102 #define true 1 | 107 #define true 1 |
103 #define false 0 | 108 #define false 0 |
104 | 109 |
105 #endif | 110 #endif |
OLD | NEW |