aboutsummaryrefslogtreecommitdiff
path: root/src/main/extractor_datasource.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-06-21 18:31:16 +0000
committerLRN <lrn1986@gmail.com>2013-06-21 18:31:16 +0000
commit5c27f4b0de837738fa4e879c9a9fa6ae89e13b42 (patch)
tree8743d0fbca5392de1f609662e27c408cd498cb4b /src/main/extractor_datasource.c
parent2d72b870db12c577f757132e783724a8f017e2b4 (diff)
downloadlibextractor-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.c4
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