gcc supports the Microsoft-style "pragma pack" syntax.
Standardize on it. The conversion is somewhat non-trivial,
as gcc requires "pragma" to be before or after a statement,
not in the middle.
/*********************************************************
- * Copyright (C) 2009-2018 VMware, Inc. All rights reserved.
+ * Copyright (C) 2009-2018,2020 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
};
#ifdef VMX86_SERVER
-typedef
-#include "vmware_pack_begin.h"
-struct HashMapOnDisk {
+#pragma pack(push, 1)
+typedef struct HashMapOnDisk {
uint32 numEntries;
uint32 count;
uint32 alpha;
uint64 keyOffset;
uint64 dataOffset;
-}
-#include "vmware_pack_end.h"
-HashMapOnDisk;
+} HashMapOnDisk;
+#pragma pack(pop)
#endif
typedef enum {