octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MINGW32 patch for octave 2.9.12


From: Benjamin Lindner
Subject: MINGW32 patch for octave 2.9.12
Date: Wed, 06 Jun 2007 07:32:34 +0200

Hello,

Compiling octave with mingw32 requires that the HAVE_C99_VSNPRINTF macro
is not defined, otherwise text output gets junked in terminal.

I propose the following patch, unless the FIXME has been dealt with 
in the meantime...

benjamin


--- octave-2.9.11-orig/src/utils.cc     2007-04-27 19:34:28.000000000 +0200
+++ octave-2.9.11/src/utils.cc  2007-05-30 11:35:35.197913300 +0200
@@ -950,7 +950,7 @@
 
 /* FIXME -- we really need a configure test for this.  */
 
-#if defined __GNUC__ && __GNUC__ >= 3
+#if defined __GNUC__ && __GNUC__ >= 3 && !defined __MINGW32__
 #define HAVE_C99_VSNPRINTF 1
 #endif 

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger


reply via email to

[Prev in Thread] Current Thread [Next in Thread]