comparison src/getidblock.c @ 75:987aa872294e stable-0-6-11

Use ftello/fseeko to properly handle large files. Document and properly use datasize field in b5 blocks. Fix some MSVC compile issues and collect MSVC dependencies into one place.
author Carl Byington <carl@five-ten-sg.com>
date Tue, 03 Jun 2008 12:00:58 -0700
parents 3cb02cb1e6cd
children 56fa05fd5271
comparison
equal deleted inserted replaced
74:6f82d13e9300 75:987aa872294e
1
1 #include "define.h" 2 #include "define.h"
2
3 #include <stdio.h>
4 #include <string.h>
5
6 #ifndef __GNUC__
7 # include "XGetopt.h"
8 #endif
9
10 #ifndef _WIN32
11 # include <unistd.h>
12 #endif
13
14 #include "libpst.h" 3 #include "libpst.h"
15 4
16 static void usage(); 5 static void usage();
17 6
18 int main(int argc, char **argv) 7 int main(int argc, char **argv)