added define PACKED

This commit is contained in:
merlokk committed 2019-07-15 19:21:19 +03:00
1 parent d2a2acf69c
commit 84c09ce881
3 files changed
+10 -4

No files matched your search

+6
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