added define PACKED

This commit is contained in:
merlokk 2019-07-15 19:21:19 +03:00
commit 84c09ce881
3 changed files with 10 additions and 4 deletions

View file

@ -21,6 +21,12 @@
#include "ui.h" // PrintAndLog
#include "commonutil.h"
#ifdef _MSC_VER
#define PACKED
#else
#define PACKED __attribute__((packed))
#endif
#ifdef ANDROID
#include <endian.h>
#endif