View Single Post
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 10-29-2015 , 01:33   Re: tf2items appears to need updating
Reply With Quote #5

Quote:
Originally Posted by bottiger View Post
Thanks for the update.

I think the problem with the Linux build is that hl2sdk-tf2 now complains about _aligned_malloc not being defined.

Apparently this is a Windows only function. C++11 only has a function called aligned_alloc so I put this in smsdk_ext.hpp and it compiles now.

#include <stdlib.h>
inline void* _aligned_malloc(unsigned int size, int alignment) {
return aligned_alloc(alignment, size);
}

Maybe Psychonic can stick that inside hl2sdk-tf2 somewhere.
Thank you. Confirmed working after testing.
__________________
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW