mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
* Update zlibng * Set cmake path more directly in zlibng to hopefully fix an issue with the build on drone * I'm dumb, missing / in path * Mackal helps with a dumb gitignore issue * Adding all the files, not sure what's ignoring them and im tired of looking * Some tweaks to zlibng build to hopefully get it to build properly. works on msvc now
13 lines
235 B
C
13 lines
235 B
C
#ifndef ARM_CTZL_H
|
|
#define ARM_CTZL_H
|
|
|
|
#include <armintr.h>
|
|
|
|
#if defined(_MSC_VER) && !defined(__clang__)
|
|
static __forceinline unsigned long __builtin_ctzl(unsigned long value) {
|
|
return _arm_clz(_arm_rbit(value));
|
|
}
|
|
#endif
|
|
|
|
#endif
|