Add BSWAP64 macro.
Robert Haas <rhaas@postgresql.org>
Add BSWAP64 macro. This is like BSWAP32, but for 64-bit values. Since we've got two of them now and they have use cases (like sortsupport) beyond CRCs, move the definitions to their own header file. Peter Geoghegan
Files
| Path | Change | +/− |
|---|---|---|
| config/c-compiler.m4 | modified | +18 −0 |
| configure | modified | +24 −0 |
| configure.in | modified | +1 −0 |
| src/include/pg_config.h.in | modified | +3 −0 |
| src/include/pg_config.h.win32 | modified | +3 −0 |
| src/include/port/pg_bswap.h | added | +46 −0 |
| src/include/port/pg_crc32c.h | modified | +2 −10 |