Changeset: 0300575852e1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0300575852e1
Modified Files:
        gdk/gdk_heap.c
Branch: pyapi
Log Message:

Fix for windows compilation.


diffs (18 lines):

diff --git a/gdk/gdk_heap.c b/gdk/gdk_heap.c
--- a/gdk/gdk_heap.c
+++ b/gdk/gdk_heap.c
@@ -568,10 +568,13 @@ HEAPfree(Heap *h, int remove)
                } else if (h->storage == STORE_CMEM) {
                        //heap is stored in regular C memory rather than GDK 
memory
                        free(h->base);
-               } else if (h->storage == STORE_SHARED)
+               }
+#ifndef _WIN32 
+               else if (h->storage == STORE_SHARED)
                {
                        release_shared_memory(h->base);
                }
+#endif
                else {  /* mapped file, or STORE_PRIV */
                        gdk_return ret = GDKmunmap(h->base, h->size);
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to