summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/libmkfs/openhefs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libmkfs/openhefs.h b/tools/libmkfs/openhefs.h
index ababf6a4..8db113ed 100644
--- a/tools/libmkfs/openhefs.h
+++ b/tools/libmkfs/openhefs.h
@@ -5,6 +5,10 @@
#ifndef LIBMKFS_OPENHEFS_H
#define LIBMKFS_OPENHEFS_H
+#ifndef __GNUC__
+#error !! libmkfs isn't working in MSVC yet !!
+#endif
+
#include <cstdint>
#include <cstring>
@@ -112,6 +116,7 @@ struct __attribute__((packed)) BootNode {
std::uint64_t endBlock{};
char pad[272]{};
};
+
} // namespace mkfs::hefs
#endif