Mercurial > hg > dmlib
comparison src/dmlib.h @ 873:26ea35e914ca
Oops. 10L.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Feb 2015 20:59:22 +0200 |
parents | b01d04e44b6f |
children | e5fde730b4fa |
comparison
equal
deleted
inserted
replaced
872:b01d04e44b6f | 873:26ea35e914ca |
---|---|
462 (((Uint64) (value) & (Uint64) 0x00000000ff000000ULL) << 8) | \ | 462 (((Uint64) (value) & (Uint64) 0x00000000ff000000ULL) << 8) | \ |
463 (((Uint64) (value) & (Uint64) 0x000000ff00000000ULL) >> 8) | \ | 463 (((Uint64) (value) & (Uint64) 0x000000ff00000000ULL) >> 8) | \ |
464 (((Uint64) (value) & (Uint64) 0x0000ff0000000000ULL) >> 24) | \ | 464 (((Uint64) (value) & (Uint64) 0x0000ff0000000000ULL) >> 24) | \ |
465 (((Uint64) (value) & (Uint64) 0x00ff000000000000ULL) >> 40) | \ | 465 (((Uint64) (value) & (Uint64) 0x00ff000000000000ULL) >> 40) | \ |
466 (((Uint64) (value) & (Uint64) 0xff00000000000000ULL) >> 56))) | 466 (((Uint64) (value) & (Uint64) 0xff00000000000000ULL) >> 56))) |
467 #endif | 467 |
468 | 468 |
469 /* Macros that swap only when needed ... | 469 /* Macros that swap only when needed ... |
470 */ | 470 */ |
471 #if (SDL_BYTEORDER == SDL_BIG_ENDIAN) | 471 #if (SDL_BYTEORDER == SDL_BIG_ENDIAN) |
472 # define DM_LE16_TO_NATIVE(value) DM_SWAP_16_LE_BE(value) | 472 # define DM_LE16_TO_NATIVE(value) DM_SWAP_16_LE_BE(value) |