Changeset 3535:1dfb8a90a024 in orange


Ignore:
Timestamp:
04/14/07 12:02:20 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
d91073267629fed0ec6659a739bd2ea2f79bbaf3
Message:
  • added a missing #if _MSC_VER!=0 && _MSC_VER<1300
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/svm.cpp

    r3531 r3535  
    6060typedef float Qfloat; 
    6161typedef signed char schar; 
    62 #ifndef min 
    63 template <class T> inline T min(T x,T y) { return (x<y)?x:y; } 
     62 
     63#if _MSC_VER!=0 && _MSC_VER<1300 
     64  #ifndef min 
     65    template <class T> inline T min(T x,T y) { return (x<y)?x:y; } 
     66  #endif 
     67  #ifndef max 
     68    template <class T> inline T max(T x,T y) { return (x>y)?x:y; } 
     69  #endif 
    6470#endif 
    65 #ifndef max 
    66 template <class T> inline T max(T x,T y) { return (x>y)?x:y; } 
    67 #endif 
     71 
    6872//template <class T> inline void swap(T& x, T& y) { T t=x; x=y; y=t; } 
    6973template <class S, class T> inline void clone(T*& dst, S* src, int n) 
Note: See TracChangeset for help on using the changeset viewer.