aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/uPluginLoader.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/base/uPluginLoader.pas12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/base/uPluginLoader.pas b/src/base/uPluginLoader.pas
index b2142702..d0e878c4 100644
--- a/src/base/uPluginLoader.pas
+++ b/src/base/uPluginLoader.pas
@@ -93,15 +93,13 @@ type
end;
const
- {$IFDEF MSWINDOWS}
+{$IF Defined(MSWINDOWS)}
PluginFileExtension = '.dll';
- {$ENDIF}
- {$IFDEF LINUX}
- PluginFileExtension = '.so';
- {$ENDIF}
- {$IFDEF DARWIN}
+{$ELSEIF Defined(DARWIN)}
PluginFileExtension = '.dylib';
- {$ENDIF}
+{$ELSEIF Defined(UNIX)}
+ PluginFileExtension = '.so';
+{$IFEND}
implementation