Windows: File and directory handling, remove gcc warning, makefile variable. - gcl.git - GNU Common Lisp

index : gcl.git
GNU Common Lisp
summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Thomas <mike.thomas@paradigmgeo.com>2005年01月14日 05:45:03 +0000
committerMike Thomas <mike.thomas@paradigmgeo.com>2005年01月14日 05:45:03 +0000
commit83d8b35e8eeb23f385c67e307e19e5a50898edf2 (patch)
tree14e756ebd8cbd88047a065d9fc79bcf2479762b1
parent946e069238f2e7f997bfcd58ae660e47366df7ff (diff)
downloadgcl-unlabeled-1.19.4.1.2.17.2.1.4.1.2.2.2.tar.gz
Windows: File and directory handling, remove gcc warning, makefile variable.unlabeled-1.19.4.1.2.17.2.1.4.1.2.2.2
Diffstat
-rw-r--r--gcl/o/alloc.c 10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcl/o/alloc.c b/gcl/o/alloc.c
index 6cbb89015..af51c2007 100644
--- a/gcl/o/alloc.c
+++ b/gcl/o/alloc.c
@@ -1485,6 +1485,16 @@ malloc(size_t size) {
RECREATE_HEAP
#endif
;
+#ifdef __MINGW32__
+ /* If malloc() gets called by the C runtime before
+ * main starts and the shared memory is not yet
+ * initialised causing boofo.
+ * SET_REAL_MAXPAGE calls init_shared_memory().
+ * This problem arose with gcc 3.4.2 and new libs.
+ */
+ SET_REAL_MAXPAGE
+ ;
+#endif
}
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月01日 18:09:39 +0000

AltStyle によって変換されたページ (->オリジナル) /