Overview
Comment: | Use UINT*_C for swap macros |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
de72eaa6ea9625a43672f00faf1958f8 |
User & Date: | js on 2021-12-07 19:01:51 |
Other Links: | manifest | tags |
Context
2021-12-13
| ||
01:49 | Fix subprocesses check-in: c2bf5b0410 user: js tags: trunk | |
2021-12-07
| ||
19:01 | Use UINT*_C for swap macros check-in: de72eaa6ea user: js tags: trunk | |
2021-12-05
| ||
17:39 | Make Secure Transport work on macOS Leopard check-in: 50fd2e6e50 user: js tags: trunk | |
Changes
Modified src/macros.h from [13da37c718] to [adb87dd5b5].
︙ | |||
409 410 411 412 413 414 415 | 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 | - + - - + + + + + - - - - + + + + + + + | #define OF_DESTRUCTOR(prio) \ static void __attribute__((__destructor__(prio))) \ OF_PREPROCESSOR_CONCAT(destructor, __LINE__)(void) static OF_INLINE uint16_t OF_CONST_FUNC OFByteSwap16Const(uint16_t i) { |
︙ | |||
510 511 512 513 514 515 516 | 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 | - + + | "bswap %%eax\n\t" "bswap %%edx\n\t" "xchgl %%eax, %%edx" : "=A"(i) : "0"(i) ); #else |
︙ |