COIN-OR::LEMON - Graph Library

Ticket #230: bac03d6fae99.patch

File bac03d6fae99.patch, 1.1 KB (added by Alpar Juttner, 15 years ago)
  • lemon/bits/default_map.h

    # HG changeset patch
    # User Alpar Juttner <alpar@cs.elte.hu>
    # Date 1235061385 0
    # Node ID bac03d6fae9985a177e885c8ac6debf53fe913a4
    # Parent  b9b3473327e344ba8647be9f8c674644892e25d1
    Assume that 'long long' is available (#230)
    
    diff --git a/lemon/bits/default_map.h b/lemon/bits/default_map.h
    a b  
    9696  };
    9797
    9898
    99 #if defined __GNUC__ && !defined __STRICT_ANSI__
     99//We assume we always have long long
     100//#if defined __GNUC__ && !defined __STRICT_ANSI__
    100101
    101102  // long long
    102103  template <typename _Graph, typename _Item>
     
    109110    typedef VectorMap<_Graph, _Item, unsigned long long> Map;
    110111  };
    111112
    112 #endif
     113//#endif
    113114
    114115
    115116  // float
  • lemon/tolerance.h

    diff --git a/lemon/tolerance.h b/lemon/tolerance.h
    a b  
    371371    static Value zero() {return 0;}
    372372  };
    373373
    374 #if defined __GNUC__ && !defined __STRICT_ANSI__
     374
     375//We assume we always have long long
     376//#if defined __GNUC__ && !defined __STRICT_ANSI__
    375377
    376378  ///Long long integer specialization of Tolerance.
    377379
     
    443445    static Value zero() {return 0;}
    444446  };
    445447
    446 #endif
     448//#endif
    447449
    448450  /// @}
    449451