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 committed 2024-10-30 15:42:39 -07:00
1 parent eba6765541
commit e085dae636
3 files changed
+36 -40

No files matched your search

-1
View File
@@ -7,7 +7,6 @@
////////////////////////////////
//~ rjf: Includes / Libraries
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <windowsx.h>
#include <timeapi.h>