kopia lustrzana https://gitlab.com/sane-project/backends
Use portable endian macros from config.h
rodzic
dd1b8a07fd
commit
97e89c3ad7
|
@ -1,3 +1,6 @@
|
|||
2011-10-30 Mattias Ellert <mattias.ellert@fysast.uu.se>
|
||||
* backend/kvs40xx.h: Use portable endian macro from config.h
|
||||
|
||||
2011-10-21 Stéphane Voltz <stef.dev@free.fr>
|
||||
* backend/genesys.c backend/genesys.h backend/genesys_devices.c
|
||||
backend/genesys_gl*.c backend/genesys_gl843.h
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
Panasonic KV-S40xx USB-SCSI scanner driver.
|
||||
*/
|
||||
|
||||
#include <endian.h>
|
||||
#include "../include/sane/config.h"
|
||||
#include <semaphore.h>
|
||||
|
||||
#undef BACKEND_NAME
|
||||
|
@ -226,7 +226,7 @@ swap_bytes32 (u32 x)
|
|||
(x & (u32) 0x0000ff00UL) << 8 | (x & (u32) 0x00ff0000UL) >> 8;
|
||||
}
|
||||
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
#if WORDS_BIGENDIAN
|
||||
static inline void
|
||||
set24 (u8 * p, u32 x)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue