[Forensics-changes] [yara] 35/192: Fix conditionals

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:43 UTC 2017


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

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

commit 798d37a45822bc3c86dee67899b980c7a2870755
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Wed Sep 21 10:12:45 2016 +0200

    Fix conditionals
---
 libyara/modules/pe_utils.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/libyara/modules/pe_utils.c b/libyara/modules/pe_utils.c
index fc406de..ed69b80 100644
--- a/libyara/modules/pe_utils.c
+++ b/libyara/modules/pe_utils.c
@@ -29,12 +29,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 #include <stdio.h>
 
-#if defined(WIN32)
-#include <string.h>
-#define strncasecmp _strnicmp
+#if defined(_WIN32)
 #define timegm _mkgmtime
-#else
-#include <strings.h>
 #endif
 
 #include <string.h>

-- 
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