1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00

TF2 win64 + Ambuild tier1/mathlib + long=devil (#198)

* Fix compilation for windows, setup ambuild

* Add built tier1 and mathlib for win64

* Ensure compilation is working on windows and linux

* Add -fPIC

* Add compiled libs, with optimisation enabled

* Added windows lib

* Fix hl2sdk for windows

* Longs are the devil

* Fix up threadtools functions

* Add updated libs

* Rework lib naming, and package script

* Update lib directory according to new packaging

---------

Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
This commit is contained in:
Benoist
2024-03-09 04:57:12 +01:00
committed by GitHub
parent dcf515fea8
commit 8a6d1c6cd2
82 changed files with 830 additions and 1933 deletions

View File

@ -184,12 +184,12 @@ unsigned int netadr_t::GetIP() const
return *(unsigned int *)&ip;;
}
unsigned long netadr_t::addr_ntohl() const
uint32_t netadr_t::addr_ntohl() const
{
return ntohl( GetIP() );
}
unsigned long netadr_t::addr_htonl() const
uint32_t netadr_t::addr_htonl() const
{
return htonl( GetIP() );
}