diff options
author | LRN <lrn1986@gmail.com> | 2013-06-21 18:31:16 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-06-21 18:31:16 +0000 |
commit | 5c27f4b0de837738fa4e879c9a9fa6ae89e13b42 (patch) | |
tree | 8743d0fbca5392de1f609662e27c408cd498cb4b /src/main/extractor_datasource.c | |
parent | 2d72b870db12c577f757132e783724a8f017e2b4 (diff) | |
download | libextractor-5c27f4b0de837738fa4e879c9a9fa6ae89e13b42.tar.gz libextractor-5c27f4b0de837738fa4e879c9a9fa6ae89e13b42.zip |
Mingw-w64 compatibility, plibcification
Diffstat (limited to 'src/main/extractor_datasource.c')
-rw-r--r-- | src/main/extractor_datasource.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/extractor_datasource.c b/src/main/extractor_datasource.c index 190834a..6509bd5 100644 --- a/src/main/extractor_datasource.c +++ b/src/main/extractor_datasource.c | |||
@@ -1190,7 +1190,11 @@ EXTRACTOR_datasource_create_from_file_ (const char *filename, | |||
1190 | struct EXTRACTOR_Datasource *ds; | 1190 | struct EXTRACTOR_Datasource *ds; |
1191 | enum ExtractorCompressionType ct; | 1191 | enum ExtractorCompressionType ct; |
1192 | int fd; | 1192 | int fd; |
1193 | #if WINDOWS | ||
1194 | struct _stat sb; | ||
1195 | #else | ||
1193 | struct stat sb; | 1196 | struct stat sb; |
1197 | #endif | ||
1194 | int64_t fsize; | 1198 | int64_t fsize; |
1195 | int winmode = 0; | 1199 | int winmode = 0; |
1196 | #if WINDOWS | 1200 | #if WINDOWS |