Lines 1-5
Link Here
|
1 |
--- include/GOPchop.h.orig Sun Apr 27 13:13:19 2003 |
1 |
--- include/GOPchop.h.orig Sun Apr 27 13:13:19 2003 |
2 |
+++ include/GOPchop.h Sun Jun 8 16:59:13 2003 |
2 |
+++ include/GOPchop.h Tue Apr 6 19:31:08 2004 |
3 |
@@ -31,7 +31,13 @@ |
3 |
@@ -31,7 +31,13 @@ |
4 |
#endif |
4 |
#endif |
5 |
|
5 |
|
Lines 15-26
Link Here
|
15 |
|
15 |
|
16 |
/* import locale functions */ |
16 |
/* import locale functions */ |
17 |
#include "gettext.h" |
17 |
#include "gettext.h" |
18 |
@@ -50,7 +56,7 @@ |
18 |
@@ -50,11 +56,15 @@ |
19 |
#endif |
19 |
#endif |
20 |
|
20 |
|
21 |
/* figure out off_t formatting */ |
21 |
/* figure out off_t formatting */ |
22 |
-#if _FILE_OFFSET_BITS==64 |
22 |
+#if defined(__FreeBSD__) |
23 |
+#if _FILE_OFFSET_BITS==64 || defined(__FreeBSD__) |
23 |
+# define OFF_T_FORMAT "llu" |
|
|
24 |
+#else |
25 |
#if _FILE_OFFSET_BITS==64 |
24 |
# define OFF_T_FORMAT "llu" |
26 |
# define OFF_T_FORMAT "llu" |
25 |
#else |
27 |
#else |
26 |
# warning "Not compiling for large file (>2G) support!" |
28 |
# warning "Not compiling for large file (>2G) support!" |
|
|
29 |
# define OFF_T_FORMAT "lu" |
30 |
+#endif |
31 |
#endif |
32 |
|
33 |
/* define a string length used for short reports */ |