Browse Source

Check for USE_WINDOWS_FILE.

Martijn Laan 11 months ago
parent
commit
bee7be3bf4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Projects/Src/Compression.SevenZipDecoder/7zDecode/IS7zDec.c

+ 4 - 0
Projects/Src/Compression.SevenZipDecoder/7zDecode/IS7zDec.c

@@ -84,6 +84,10 @@ int _fputs(char const* str, FILE* stream);
 
 #include "../../../../Components/Lzma2/Util/7z/7zMain.c"
 
+#ifndef USE_WINDOWS_FILE
+#error USE_WINDOWS_FILE is required by Compression.SevenZipDecoder.pas
+#endif
+
 #include "../../../../Components/Lzma2/7zAlloc.c"
 #include "../../../../Components/Lzma2/7zArcIn.c"
 #include "../../../../Components/Lzma2/7zBuf.c"