/[pcsx2_0.9.7]/trunk/common/include/Utilities/General.h
ViewVC logotype

Diff of /trunk/common/include/Utilities/General.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/common/include/Utilities/General.h	2010/09/07 03:24:11	31
+++ trunk/common/include/Utilities/General.h	2010/09/07 11:08:22	62
@@ -173,3 +173,14 @@
 extern u64  GetCPUTicks();
 
 extern wxString GetOSVersionString();
+
+extern void* __fastcall pcsx2_aligned_malloc(size_t size, size_t align);
+extern void* __fastcall pcsx2_aligned_realloc(void* handle, size_t size, size_t align);
+extern void pcsx2_aligned_free(void* pmem);
+
+// aligned_malloc: Implement/declare linux equivalents here!
+#if !defined(_MSC_VER) && !defined(HAVE_ALIGNED_MALLOC)
+#	define _aligned_malloc	pcsx2_aligned_malloc
+#	define _aligned_free	pcsx2_aligned_free
+# 	define _aligned_realloc	pcsx2_aligned_realloc
+#endif

 

  ViewVC Help
Powered by ViewVC 1.1.22