aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/FreeImage
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/FreeImage')
-rw-r--r--src/lib/FreeImage/FreeImage.pas12
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