Add
authorMiguel de Icaza <miguel@gnome.org>
Thu, 29 Sep 2005 21:14:42 +0000 (21:14 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 29 Sep 2005 21:14:42 +0000 (21:14 -0000)
svn path=/trunk/mono/; revision=51013

support/Makefile.am
support/supportw.c

index c73de3351bc998409fa3860c681d08dcc7e62fdd..847ccae0b352243a86db28b808e22e3511c74eb4 100644 (file)
@@ -82,6 +82,7 @@ libMonoSupportW_la_SOURCES =                  \
                supportw.h
 
 libMonoSupportW_la_LIBADD =                    \
+               ../mono/io-layer/libwapi.la     \
                $(GLIB_LIBS)
 
 # 
index f1fa2d16ff7ab1946d5cbb1f0929d391e0ee3b69..650a67c55c563a245eb8d23d18f88469722c3a33 100644 (file)
 #include "mono/metadata/object.h"
 #include "mono/metadata/tabledefs.h"
 #include "mono/io-layer/wapi.h"
+#include <limits.h>    /* for PAGESIZE */
+#ifndef PAGESIZE
+#define PAGESIZE 4096
+#endif
 
 typedef struct {
        const char *fname;
@@ -28,20 +32,6 @@ typedef struct {
 gpointer FindWindowExW        (gpointer hwndParent, gpointer hwndChildAfter,
                               const char *classw, const char *window);
 
-gpointer HeapAlloc            (gpointer unused1, gint32 unused2, gint32 nbytes);
-gpointer HeapCreate           (gint32 flags, gint32 initial_size, gint32 max_size);
-gboolean HeapSetInformation   (gpointer handle, gpointer heap_info_class,
-                              gpointer heap_info, gint32 head_info_length);
-
-gboolean HeapQueryInformation (gpointer handle, gpointer heap_info_class,
-                              gpointer heap_info, gint32 head_info_length, gint32 *ret_length);
-
-gpointer HeapAlloc            (gpointer handle, gint32 flags, gint32 nbytes);
-gpointer HeapReAlloc          (gpointer handle, gint32 flags, gpointer mem, gint32 nbytes);
-gint32   HeapSize             (gpointer handle, gint32 flags, gpointer mem);
-gboolean HeapFree             (gpointer handle, gint32 flags, gpointer mem);
-gboolean HeapValidate         (gpointer handle, gpointer mem);
-gboolean HeapDestroy          (gpointer handle);
 gpointer GetProcessHeap       (void);
 
 static FnPtr functions [] = {