Fix compiler warning
freefare_internal.h:359:5: warning: "_BYTE_ORDER" is not defined freefare_internal.h:359:20: warning: "_LITTLE_ENDIAN" is not defined
This commit is contained in:
parent
f0a1247693
commit
a878149663
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ struct mifare_ultralight_tag {
|
||||||
* BUFFER_APPEND_LE (buffer, data, 3, 4);
|
* BUFFER_APPEND_LE (buffer, data, 3, 4);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if _BYTE_ORDER != _LITTLE_ENDIAN
|
#if defined(_BYTE_ORDER) && (_BYTE_ORDER != _LITTLE_ENDIAN)
|
||||||
#define BUFFER_APPEND_LE(buffer, data, data_size, field_size) \
|
#define BUFFER_APPEND_LE(buffer, data, data_size, field_size) \
|
||||||
do { \
|
do { \
|
||||||
size_t __data_size = data_size; \
|
size_t __data_size = data_size; \
|
||||||
|
|
Loading…
Reference in a new issue