[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60667] trunk/blender/intern/guardedalloc/ mmap_win.h: * Fix Windows compiler errors after recent Lock-free memory allocator commit .
Thomas Dinges
blender at dingto.org
Thu Oct 10 18:11:57 CEST 2013
Revision: 60667
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60667
Author: dingto
Date: 2013-10-10 16:11:57 +0000 (Thu, 10 Oct 2013)
Log Message:
-----------
* Fix Windows compiler errors after recent Lock-free memory allocator commit.
Patch by Sergey, thanks. :)
Modified Paths:
--------------
trunk/blender/intern/guardedalloc/mmap_win.h
Modified: trunk/blender/intern/guardedalloc/mmap_win.h
===================================================================
--- trunk/blender/intern/guardedalloc/mmap_win.h 2013-10-10 15:44:47 UTC (rev 60666)
+++ trunk/blender/intern/guardedalloc/mmap_win.h 2013-10-10 16:11:57 UTC (rev 60667)
@@ -51,6 +51,8 @@
/* needed for uintptr_t, exception, dont use BLI anywhere else in MEM_* */
#include "../../source/blender/blenlib/BLI_sys_types.h"
+#include <sys/types.h>
+
void *mmap(void *start, size_t len, int prot, int flags, int fd, off_t offset);
intptr_t munmap(void *ptr, size_t size);
More information about the Bf-blender-cvs
mailing list