Permalink
Browse files

fix large file support, some sytems require config.h to be included e…

…arlier in the compilation.
  • Loading branch information...
1 parent 1e9aca5 commit 0f8a0248eee9c3c63c14fe9596e36a9a53c82211 Carl Byington committed Mar 16, 2009
Showing with 11 additions and 11 deletions.
  1. +2 −0 ChangeLog
  2. +2 −2 Doxyfile
  3. +1 −0 Makefile.cvs
  4. +2 −2 regression/regression-tests.bash
  5. +4 −6 src/define.h
  6. +0 −1 src/libpst.c
View
@@ -2,6 +2,8 @@ LibPST 0.6.33 (2009-xx-xx)
===============================
* fix fedora 11 type mismatch warning (actually an error in this case).
+ * fix large file support, some sytems require config.h to be included
+ earlier in the compilation.
LibPST 0.6.32 (2009-03-14)
===============================
View
@@ -423,7 +423,7 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = src
+INPUT = config.h src
# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
@@ -958,7 +958,7 @@ INCLUDE_FILE_PATTERNS =
# undefined via #undef or recursively expanded use the := operator
# instead of the = operator.
-PREDEFINED =
+PREDEFINED = HAVE_CONFIG_H
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.
View
@@ -8,6 +8,7 @@ all:
autoheader
automake
autoconf
+ ./configure >/dev/null
rm -rf html.internal
doxygen
tar cfz libpst.html.tar.gz html.internal
@@ -44,13 +44,13 @@ function dopst()
#../src/getidblock -d -p $fn 0 >$ba.fulldump
#../src/readpstlog -f I getidblock.log >$ba.fulldump.log
- rm -f dumper
+ #rm -f dumper
}
val="valgrind --leak-check=full"
-val=''
+#val=''
pushd ..
make || exit
View
@@ -8,16 +8,14 @@
#ifndef DEFINEH_H
#define DEFINEH_H
-#include "libpst.h"
-#include "timeconv.h"
-#include "libstrfunc.h"
-#include "vbuf.h"
-
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include "libpst.h"
+#include "timeconv.h"
+#include "libstrfunc.h"
+#include "vbuf.h"
#define DEBUG_MODE_GEN
#define DEBUGPRINT
View
@@ -3717,7 +3717,6 @@ size_t pst_ff_getIDblock(pst_file *pf, uint64_t id, char** buf) {
}
-#define PST_PTR_BLOCK_SIZE 0x120
size_t pst_ff_getID2block(pst_file *pf, uint64_t id2, pst_id2_ll *id2_head, char** buf) {
size_t ret;
pst_id2_ll* ptr;

0 comments on commit 0f8a024

Please sign in to comment.