pass over atomic operations

- use cast to volatile trick for atomic loads on x64 windows
- removed unnecessary includes on windows
- upgraded clang and gcc code paths to use modern atomics

Removed WIN32_LEAN_AND_MEAN because we were already compiling without it
and there is code path in os_gfx_win32.c that relies on including full
windows.h
This commit is contained in:
Nikita Smith
2024-10-30 15:42:39 -07:00
parent eba6765541
commit e085dae636
3 changed files with 36 additions and 40 deletions
-1
View File
@@ -7,7 +7,6 @@
////////////////////////////////
//~ rjf: Includes / Libraries
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <windowsx.h>
#include <timeapi.h>