mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
GameNetworkingSockets is Valve's semi-recently open-sourced networking library. It supports a number of very useful features, including: - Reliable & unreliable messages over UDP. - Robust message fragmentation & reassembly. - P2P networking / NAT traversal. Encryption. PR: 256295 Reported by: Karsten Pedersen <kpedersen at disroot.org>
11 lines
587 B
C
11 lines
587 B
C
--- include/steam/steamclientpublic.h.orig 2021-05-31 13:43:13 UTC
|
|
+++ include/steam/steamclientpublic.h
|
|
@@ -1257,7 +1257,7 @@ typedef void *BREAKPAD_HANDLE;
|
|
#define VALVE_CALLBACK_PACK_LARGE
|
|
#else
|
|
|
|
- #if defined(__linux__) || defined(__APPLE__)
|
|
+ #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
|
|
// The 32-bit version of gcc has the alignment requirement for uint64 and double set to
|
|
// 4 meaning that even with #pragma pack(8) these types will only be four-byte aligned.
|
|
// The 64-bit version of gcc has the alignment requirement for these types set to
|