[Forensics-changes] [yara] 02/160: Fix issue #253

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:29:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.4.0
in repository yara.

commit 73098aed175340b85cdca42a3ce871d7c34ff188
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Tue Feb 10 15:39:20 2015 +0100

    Fix issue #253
---
 libyara/include/yara/filemap.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/libyara/include/yara/filemap.h b/libyara/include/yara/filemap.h
index 68f1268..fb652af 100755
--- a/libyara/include/yara/filemap.h
+++ b/libyara/include/yara/filemap.h
@@ -17,12 +17,16 @@ limitations under the License.
 #ifndef YR_FILEMAP_H
 #define YR_FILEMAP_H
 
+#ifdef _MSC_VER
+#define off_t              int64_t
+#else
+#include <sys/types.h>
+#endif
+
 #ifdef _WIN32
 #include <windows.h>
 #define FILE_DESCRIPTOR    HANDLE
-#define off_t              int64_t
 #else
-#include <sys/types.h>
 #define FILE_DESCRIPTOR    int
 #endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list