Lines 58-71
Link Here
|
58 |
# define SKIP_1BYTE(dst) { *dst++ = 0x46; } |
58 |
# define SKIP_1BYTE(dst) { *dst++ = 0x46; } |
59 |
# define SKIP_2BYTe(dst) { *dst++ = 0x46; *dst++ = 0x46; } |
59 |
# define SKIP_2BYTe(dst) { *dst++ = 0x46; *dst++ = 0x46; } |
60 |
# define SKIP_3BYTE(dst) { *dst++ = 0x46; *dst++ = 0x46; *dst++ = 0x46; } |
60 |
# define SKIP_3BYTE(dst) { *dst++ = 0x46; *dst++ = 0x46; *dst++ = 0x46; } |
61 |
# ifndef __GNUC__ |
61 |
# define LOAD_2BYTE(dst) LOAD_2BYTe(dst) |
62 |
# define LOAD_2BYTE(dst) LOAD_2BYTe(dst) |
62 |
# define STORE_2BYTE(dst) STORE_2BYTe(dst) |
63 |
# define STORE_2BYTE(dst) STORE_2BYTe(dst) |
|
|
64 |
# else |
65 |
# define LOAD_2BYTE(dst) { *((unsigned short*)(dst))++ = 0xAD66; } |
66 |
# define SKIP_2BYTE(dst) { *((unsigned short*)(dst))++ = 0x4646; } |
67 |
# define STORE_2BYTE(dst) { *((unsigned short*)(dst))++ = 0xAB66; } |
68 |
# endif |
69 |
|
63 |
|
70 |
#ifndef SKIP_1BYTE |
64 |
#ifndef SKIP_1BYTE |
71 |
#define SKIP_1BYTE(dst) LOAD_1BYTE(dst) |
65 |
#define SKIP_1BYTE(dst) LOAD_1BYTE(dst) |