octave-maintainers
[Top][All Lists]
Advanced

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

MSVC compiler support [patch 38]: include <algorithm>


From: Michael Goffioul
Subject: MSVC compiler support [patch 38]: include <algorithm>
Date: Tue, 17 Oct 2006 22:13:02 +0200
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Needs to include algorithm to access some functions (like "find")
Index: src/oct-map.h
===================================================================
RCS file: /cvs/octave/src/oct-map.h,v
retrieving revision 1.49
diff -p -c -r1.49 oct-map.h
*** src/oct-map.h       14 Aug 2006 19:08:37 -0000      1.49
--- src/oct-map.h       17 Oct 2006 11:07:42 -0000
*************** Software Foundation, Inc., 51 Franklin S
*** 25,30 ****
--- 25,33 ----
  #define octave_oct_map_h 1
  
  #include <map>
+ #ifdef _MSC_VER
+ #include <algorithm>
+ #endif
  
  #include "Cell.h"
  #include "oct-obj.h"

reply via email to

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