Fixed building on MSVC (#287)

This commit is contained in:
Bartek Kryza
2024-06-10 20:09:13 +02:00
parent fa742a03c4
commit 4f9a09783f
4 changed files with 39 additions and 2 deletions
+5 -1
View File
@@ -20,7 +20,11 @@ public:
struct {
int len;
int flags;
} __attribute__((packed)) bars[LENGTH];
}
#ifndef _MSC_VER
__attribute__((packed))
#endif
bars[LENGTH];
private:
struct {