diff options
author | Erik Faye-Lund <[email protected]> | 2020-05-06 15:33:37 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-07 13:34:30 +0000 |
commit | 7ba2333cc17e7f0a1520866bcfd60a991d34295e (patch) | |
tree | 3b3519a9e70cbf26be007e103b360d982b4b51c1 /src/util/os_memory.h | |
parent | 905edc376dd1ace6ac2af0fc351606210a0141a1 (diff) |
util/os_memory: never use os_memory_debug.h
This is currently broken hard, because this code is being used in more
places that it used to be, and fixing that is prohibitively hard right
now.
This is far from ideal, as it leaves the same inconsistency in the
EMBEDDED_DEVICE code-path. But that only used by VMWare, so it's
probably better if they fix it, as they know their requirements better
than we do.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2911
Fixes: 76f79db3f5d ("util: stop including files from mesa/main")
Acked-by: Jose Fonseca <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4919>
Diffstat (limited to 'src/util/os_memory.h')
-rw-r--r-- | src/util/os_memory.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/util/os_memory.h b/src/util/os_memory.h index bfb70815118..b191cf20584 100644 --- a/src/util/os_memory.h +++ b/src/util/os_memory.h @@ -34,8 +34,6 @@ #ifndef _OS_MEMORY_H_ #define _OS_MEMORY_H_ -#include "detect_os.h" - #if defined(EMBEDDED_DEVICE) #ifdef __cplusplus @@ -67,10 +65,6 @@ os_realloc_aligned(void *ptr, size_t oldsize, size_t newsize, size_t alignemnt); } #endif -#elif DETECT_OS_WINDOWS && defined(DEBUG) && !defined(DEBUG_MEMORY_IMPLEMENTATION) - -# include "os_memory_debug.h" - #else # include "os_memory_stdc.h" |