1 new commit in XEmacs:
https://bitbucket.org/xemacs/xemacs/commits/f7abcda06b1b/
changeset: f7abcda06b1b
user: Jerry James
date: 2013-03-08 21:43:06
summary: Since stack_like_{malloc,free}() are only used when WIN32_ANY,
define them only that case. See xemacs-patches message
<CAHCOHQmW_HyWn=T8OJYVgp1CGPptFVHW0xPVgoaVJXpu4C0NkA(a)mail.gmail.com>.
affected #: 3 files
diff -r 0e2f2837c2bde37a9d9d26744e9829e0c5547239 -r
f7abcda06b1b06a44cc586d91d5b919becf959cd src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2013-03-07 Jerry James <james(a)xemacs.org>
+
+ * array.c (stack_like_malloc): Define only if WIN32_ANY.
+ (stack_like_free): Ditto.
+ * array.h: Ditto.
+
2013-03-04 Jerry James <james(a)xemacs.org>
* config.h.in: Add placeholders and definitions needed for large
diff -r 0e2f2837c2bde37a9d9d26744e9829e0c5547239 -r
f7abcda06b1b06a44cc586d91d5b919becf959cd src/array.c
--- a/src/array.c
+++ b/src/array.c
@@ -469,6 +469,7 @@
#endif /* MEMORY_USAGE_STATS */
+#ifdef WIN32_ANY
/*****************************************************************************/
/* stack-like allocation */
/*****************************************************************************/
@@ -540,6 +541,7 @@
ABORT ();
}
}
+#endif /* WIN32_ANY */
/*****************************************************************************/
diff -r 0e2f2837c2bde37a9d9d26744e9829e0c5547239 -r
f7abcda06b1b06a44cc586d91d5b919becf959cd src/array.h
--- a/src/array.h
+++ b/src/array.h
@@ -608,9 +608,10 @@
/** Stack-like malloc/free **/
/************************************************************************/
+#ifdef WIN32_ANY
void *stack_like_malloc (Bytecount size);
void stack_like_free (void *val);
-
+#endif
/************************************************************************/
Repository URL:
https://bitbucket.org/xemacs/xemacs/
--
This is a commit notification from
bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches