VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Boot
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-17 00:06:57 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-08-17 00:08:18 +0200
commit2780ac962ec75f548acb616dd810515e528ac0b1 (patch)
tree3c89dab46a6f225b8e2caf04a8d51c6a29b0e6f0 /src/Boot
parente47f94cb4329cfefb0a9c4efaa353a1b54268b46 (diff)
downloadVeraCrypt-2780ac962ec75f548acb616dd810515e528ac0b1.tar.gz
VeraCrypt-2780ac962ec75f548acb616dd810515e528ac0b1.zip
Linux: fix various compilation issues under Linux.
Diffstat (limited to 'src/Boot')
-rw-r--r--src/Boot/Windows/BootCommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Boot/Windows/BootCommon.h b/src/Boot/Windows/BootCommon.h
index ea63c08b..10543956 100644
--- a/src/Boot/Windows/BootCommon.h
+++ b/src/Boot/Windows/BootCommon.h
@@ -78,7 +78,7 @@ typedef struct
#define TC_SET_BOOT_ARGUMENTS_SIGNATURE(SG) do { SG[0] = 'T'; SG[1] = 'R'; SG[2] = 'U'; SG[3] = 'E'; SG[4] = 0x11; SG[5] = 0x23; SG[6] = 0x45; SG[7] = 0x66; } while (FALSE)
#define TC_IS_BOOT_ARGUMENTS_SIGNATURE(SG) (SG[0] == 'T' && SG[1] == 'R' && SG[2] == 'U' && SG[3] == 'E' && SG[4] == 0x11 && SG[5] == 0x23 && SG[6] == 0x45 && SG[7] == 0x66)
-#if !defined(TC_WINDOWS_BOOT)
+#if defined(_MSC_VER) && !defined(TC_WINDOWS_BOOT)
#define DCS_DISK_ENTRY_LIST_HEADER_SIGN SIGNATURE_64 ('D','C','S','D','E','L','S','T')