1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-02-15 20:27:12 +00:00

SCP: Updated to current.

This commit is contained in:
Richard Cornwell
2020-03-12 00:05:10 -04:00
parent 5a27d75811
commit 7f93c2b052
2 changed files with 15 additions and 3 deletions

View File

@@ -62,15 +62,12 @@ typedef uint32_t n_long; /* long as received from the net */
#ifdef _MSC_VER
# define PACKED_BEGIN __pragma( pack(push, 1) )
# define PACKED_END __pragma( pack(pop) )
# define QEMU_PACKED
#else
# define PACKED_BEGIN
#if defined(_WIN32)
# define PACKED_END __attribute__((gcc_struct, packed))
# define QEMU_PACKED __attribute__((gcc_struct, packed))
#else
# define PACKED_END __attribute__((packed))
# define QEMU_PACKED __attribute__((packed))
#endif
#endif