commit | 6edcd41c0ac72189af1741d96f1ab947f7545f44 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Tue Oct 29 15:22:54 2013 +0100 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Oct 29 15:44:13 2013 +0100 |
tree | e8b4c7b2a1603d993feace7bc8b1b8591d5cd016 | |
parent | 7b0be68977e101daf4be51fa3178b90d5143a1de [diff] [blame] |
Addition conditions for UEFI environment under MSVC
diff --git a/library/md.c b/library/md.c index 073f932..af66756 100644 --- a/library/md.c +++ b/library/md.c
@@ -36,8 +36,9 @@ #include <stdlib.h> -#if defined(_MSC_VER) && !defined strcasecmp -#define snprintf _stricmp +#if defined(_MSC_VER) && !defined strcasecmp && !defined(EFIX64) && \ + !defined(EFI32) +#define strcasecmp _stricmp #endif static const int supported_digests[] = {