Skip to content

Commit c86df94

Browse files
committed
Compiler defines should no longer define WINDOWS when compling under Delphi on POSIX platforms When VCL_6_OR_ABOVE is not defined. Possibly temp fix
1 parent 6e324b5 commit c86df94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/IdCompilerDefines.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,9 @@
981981
// provided it does not already define its own ENDIAN values by then...
982982
{$DEFINE ENDIAN_LITTLE}
983983
{$IFNDEF VCL_6_OR_ABOVE}
984+
{$IFNDEF POSIX}
984985
{$DEFINE MSWINDOWS}
986+
{$ENDIF}
985987
{$ENDIF}
986988
{$IFDEF MSWINDOWS}
987989
{$DEFINE WINDOWS}

0 commit comments

Comments
 (0)