# 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
|
|
| 96 | 96 | }; |
| 97 | 97 | |
| 98 | 98 | |
| 99 | | #if defined __GNUC__ && !defined __STRICT_ANSI__ |
| | 99 | //We assume we always have long long |
| | 100 | //#if defined __GNUC__ && !defined __STRICT_ANSI__ |
| 100 | 101 | |
| 101 | 102 | // long long |
| 102 | 103 | template <typename _Graph, typename _Item> |
| … |
… |
|
| 109 | 110 | typedef VectorMap<_Graph, _Item, unsigned long long> Map; |
| 110 | 111 | }; |
| 111 | 112 | |
| 112 | | #endif |
| | 113 | //#endif |
| 113 | 114 | |
| 114 | 115 | |
| 115 | 116 | // float |
diff --git a/lemon/tolerance.h b/lemon/tolerance.h
|
a
|
b
|
|
| 371 | 371 | static Value zero() {return 0;} |
| 372 | 372 | }; |
| 373 | 373 | |
| 374 | | #if defined __GNUC__ && !defined __STRICT_ANSI__ |
| | 374 | |
| | 375 | //We assume we always have long long |
| | 376 | //#if defined __GNUC__ && !defined __STRICT_ANSI__ |
| 375 | 377 | |
| 376 | 378 | ///Long long integer specialization of Tolerance. |
| 377 | 379 | |
| … |
… |
|
| 443 | 445 | static Value zero() {return 0;} |
| 444 | 446 | }; |
| 445 | 447 | |
| 446 | | #endif |
| | 448 | //#endif |
| 447 | 449 | |
| 448 | 450 | /// @} |
| 449 | 451 | |