diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/FreeImage/FreeImage.pas | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/FreeImage/FreeImage.pas b/src/lib/FreeImage/FreeImage.pas index de05aca1..69c0a0d1 100644 --- a/src/lib/FreeImage/FreeImage.pas +++ b/src/lib/FreeImage/FreeImage.pas @@ -49,15 +49,13 @@ uses {$ENDIF} const -{$IFDEF MSWINDOWS} +{$IF Defined(MSWINDOWS)} FIDLL = 'freeimage.dll'; -{$ENDIF} -{$IFDEF LINUX} - FIDLL = 'libfreeimage.so'; -{$ENDIF} -{$IFDEF DARWIN} +{$ELSEIF Defined(DARWIN)} FIDLL = 'libfreeimage.dylib'; -{$ENDIF} +{$ELSEIF Defined(UNIX)} + FIDLL = 'libfreeimage.so'; +{$IFEND} {$IFNDEF MSWINDOWS} type |