Lines 1-21
Link Here
|
1 |
--- port.h.in.orig 2009-08-21 18:45:50.068536643 +0000 |
1 |
--- port.h.in.orig 2009-08-21 18:45:50.068536643 +0000 |
2 |
+++ port.h.in 2009-08-21 18:45:58.564755017 +0000 |
2 |
+++ port.h.in 2009-08-21 18:45:58.564755017 +0000 |
3 |
@@ -3,18 +3,8 @@ |
3 |
@@ -4,12 +4,12 @@ |
4 |
|
|
|
5 |
#include "conf.h" |
4 |
#include "conf.h" |
6 |
|
5 |
|
7 |
-#ifndef HAVE_MIN_MAX |
6 |
#ifndef HAVE_MIN_MAX |
8 |
-#if defined(HAVE_ALGO_H) || defined(HAVE_ALGO) |
7 |
-#if defined(HAVE_ALGO_H) || defined(HAVE_ALGO) |
9 |
-#ifdef HAVE_ALGO |
8 |
-#ifdef HAVE_ALGO |
10 |
-#include <algo> |
9 |
+#if defined(HAVE_ALGORITHM) |
|
|
10 |
+#include <algorithm> |
11 |
+#elif defined(HAVE_ALGO) |
12 |
#include <algo> |
11 |
-#else |
13 |
-#else |
12 |
-#include <algo.h> |
14 |
+#elif defined(HAVE_ALGO_H) |
|
|
15 |
#include <algo.h> |
13 |
-#endif |
16 |
-#endif |
14 |
-#else |
17 |
#else |
15 |
#define min(XX,YY) ((XX) < (YY) ? (XX) : (YY)) |
18 |
#define min(XX,YY) ((XX) < (YY) ? (XX) : (YY)) |
16 |
#define max(XX,YY) ((XX) > (YY) ? (XX) : (YY)) |
19 |
#define max(XX,YY) ((XX) > (YY) ? (XX) : (YY)) |
|
|
20 |
@@ -19,14 +19,7 @@ |
21 |
@semun@ |
22 |
@bool@ |
23 |
@snprintf@ |
24 |
-#ifndef _LARGEFILE64_SOURCE |
25 |
-@large_file@ |
17 |
-#endif |
26 |
-#endif |
|
|
27 |
-#ifdef _LARGEFILE64_SOURCE |
28 |
-#define OFF_T_PRINTF "%lld" |
29 |
-#else |
30 |
-#define OFF_T_PRINTF "%d" |
18 |
-#endif |
31 |
-#endif |
|
|
32 |
+#define OFF_T_PRINTF "%ld" |
19 |
|
33 |
|
20 |
@semun@ |
34 |
#if @true_false@ |
21 |
@bool@ |
35 |
#define false 0 |