Changeset 58787 in vbox
- Timestamp:
- Nov 19, 2015 11:32:52 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r58702 r58787 2290 2290 #define _32K 0x00008000 2291 2291 /** 64 K (Kilo) (65 536). */ 2292 #define _64K 0x00010000 2292 #if ARCH_BITS != 16 2293 # define _64K 0x00010000 2294 #else 2295 # define _64K UINT32_C(0x00010000) 2296 #endif 2293 2297 /** 128 K (Kilo) (131 072). */ 2294 #define _128K 0x00020000 2298 #if ARCH_BITS != 16 2299 # define _128K 0x00020000 2300 #else 2301 # define _128K UINT32_C(0x00020000) 2302 #endif 2295 2303 /** 256 K (Kilo) (262 144). */ 2296 #define _256K 0x00040000 2304 #if ARCH_BITS != 16 2305 # define _256K 0x00040000 2306 #else 2307 # define _256K UINT32_C(0x00040000) 2308 #endif 2297 2309 /** 512 K (Kilo) (524 288). */ 2298 #define _512K 0x00080000 2310 #if ARCH_BITS != 16 2311 # define _512K 0x00080000 2312 #else 2313 # define _512K UINT32_C(0x00080000) 2314 #endif 2299 2315 /** 1 M (Mega) (1 048 576). */ 2300 #define _1M 0x00100000 2316 #if ARCH_BITS != 16 2317 # define _1M 0x00100000 2318 #else 2319 # define _1M UINT32_C(0x00100000) 2320 #endif 2301 2321 /** 2 M (Mega) (2 097 152). */ 2302 #define _2M 0x00200000 2322 #if ARCH_BITS != 16 2323 # define _2M 0x00200000 2324 #else 2325 # define _2M UINT32_C(0x00200000) 2326 #endif 2303 2327 /** 4 M (Mega) (4 194 304). */ 2304 #define _4M 0x00400000 2328 #if ARCH_BITS != 16 2329 # define _4M 0x00400000 2330 #else 2331 # define _4M UINT32_C(0x00400000) 2332 #endif 2333 /** 8 M (Mega) (8 388 608). */ 2334 #define _8M UINT32_C(0x00800000) 2335 /** 16 M (Mega) (16 777 216). */ 2336 #define _16M UINT32_C(0x01000000) 2337 /** 32 M (Mega) (33 554 432). */ 2338 #define _32M UINT32_C(0x02000000) 2339 /** 64 M (Mega) (67 108 864). */ 2340 #define _64M UINT32_C(0x04000000) 2341 /** 128 M (Mega) (134 217 728). */ 2342 #define _128M UINT32_C(0x08000000) 2343 /** 256 M (Mega) (268 435 456). */ 2344 #define _256M UINT32_C(0x10000000) 2345 /** 512 M (Mega) (536 870 912). */ 2346 #define _512M UINT32_C(0x20000000) 2305 2347 /** 1 G (Giga) (1 073 741 824). (32-bit) */ 2306 #define _1G 0x40000000 2348 #if ARCH_BITS != 16 2349 # define _1G 0x40000000 2350 #else 2351 # define _1G UINT32_C(0x40000000) 2352 #endif 2307 2353 /** 1 G (Giga) (1 073 741 824). (64-bit) */ 2308 #define _1G64 0x40000000LL 2354 #if ARCH_BITS != 16 2355 # define _1G64 0x40000000LL 2356 #else 2357 # define _1G64 UINT64_C(0x40000000) 2358 #endif 2309 2359 /** 2 G (Giga) (2 147 483 648). (32-bit) */ 2310 #define _2G32 0x80000000U2360 #define _2G32 UINT32_C(0x80000000) 2311 2361 /** 2 G (Giga) (2 147 483 648). (64-bit) */ 2312 #define _2G 0x0000000080000000LL 2362 #if ARCH_BITS != 16 2363 # define _2G 0x0000000080000000LL 2364 #else 2365 # define _2G UINT64_C(0x0000000080000000) 2366 #endif 2313 2367 /** 4 G (Giga) (4 294 967 296). */ 2314 #define _4G 0x0000000100000000LL 2368 #if ARCH_BITS != 16 2369 # define _4G 0x0000000100000000LL 2370 #else 2371 # define _4G UINT64_C(0x0000000100000000) 2372 #endif 2315 2373 /** 1 T (Tera) (1 099 511 627 776). */ 2316 #define _1T 0x0000010000000000LL 2374 #if ARCH_BITS != 16 2375 # define _1T 0x0000010000000000LL 2376 #else 2377 # define _1T UINT64_C(0x0000010000000000) 2378 #endif 2317 2379 /** 1 P (Peta) (1 125 899 906 842 624). */ 2318 #define _1P 0x0004000000000000LL 2380 #if ARCH_BITS != 16 2381 # define _1P 0x0004000000000000LL 2382 #else 2383 # define _1P UINT64_C(0x0004000000000000) 2384 #endif 2319 2385 /** 1 E (Exa) (1 152 921 504 606 846 976). */ 2320 #define _1E 0x1000000000000000LL 2386 #if ARCH_BITS != 16 2387 # define _1E 0x1000000000000000LL 2388 #else 2389 # define _1E UINT64_C(0x1000000000000000) 2390 #endif 2321 2391 /** 2 E (Exa) (2 305 843 009 213 693 952). */ 2322 #define _2E 0x2000000000000000ULL 2392 #if ARCH_BITS != 16 2393 # define _2E 0x2000000000000000ULL 2394 #else 2395 # define _2E UINT64_C(0x2000000000000000) 2396 #endif 2323 2397 /** @} */ 2324 2398
Note:
See TracChangeset
for help on using the changeset viewer.