Open mikest opened 4 years ago
oh thank, that function was added later, afte some refactor for the Linux and MinWg cmake script but is not really use anywhere by the engine or demos. in fact I will be a big mistake if used because the engine does not uses pointer as atomic.
I commented out all and it seem to buidl fine, at least in windows.
I'm getting a build failure after running cmake/make on OSX 10.14.6
removing the cast fixed the issue and the build continued:
return (void*)__sync_lock_test_and_set(ptr, value);