Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / util / os_memory.h
index 7a40ba9e6089b5b9b5695162498bf4a71e81d750..b191cf205840803cf20f4ed5eccb4feb9ab8d925 100644 (file)
 #ifndef _OS_MEMORY_H_
 #define _OS_MEMORY_H_
 
-
-#include "pipe/p_config.h"
-#include "pipe/p_compiler.h"
-
-
 #if defined(EMBEDDED_DEVICE)
 
 #ifdef __cplusplus
@@ -63,14 +58,13 @@ os_malloc_aligned(size_t size, size_t alignment);
 void
 os_free_aligned(void *ptr);
 
+void *
+os_realloc_aligned(void *ptr, size_t oldsize, size_t newsize, size_t alignemnt);
+
 #ifdef __cplusplus
 }
 #endif
 
-#elif defined(PIPE_OS_WINDOWS) && defined(DEBUG) && !defined(DEBUG_MEMORY_IMPLEMENTATION)
-
-#  include "os_memory_debug.h"
-
 #else
 
 #  include "os_memory_stdc.h"