diff src/array.h @ 5729:f7abcda06b1b

Since stack_like_{malloc,free}() are only used when WIN32_ANY, define them only that case. See xemacs-patches message <CAHCOHQmW_HyWn=T8OJYVgp1CGPptFVHW0xPVgoaVJXpu4C0NkA@mail.gmail.com>.
author Jerry James <james@xemacs.org>
date Fri, 08 Mar 2013 13:43:06 -0700
parents 308d34e9f07d
children e2fae7783046
line wrap: on
line diff
--- a/src/array.h	Wed Mar 06 21:05:12 2013 -0700
+++ b/src/array.h	Fri Mar 08 13:43:06 2013 -0700
@@ -608,9 +608,10 @@
 /**                       Stack-like malloc/free                       **/
 /************************************************************************/
 
+#ifdef WIN32_ANY
 void *stack_like_malloc (Bytecount size);
 void stack_like_free (void *val);
-
+#endif
 
 
 /************************************************************************/