From ef87526bdda394dff43fa3600a4c6936508e3791 Mon Sep 17 00:00:00 2001 From: basisbit Date: Sat, 15 Aug 2015 01:23:56 +0000 Subject: *added try catch on UMain.Main for better overall error handling *added SetLogFileLevel and GetLogFileLevel for easier debugging (logging more to file) *if (LogFileLevel < LogLevel) then still do logging if important error message git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3117 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UConfig.pas | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/base/UConfig.pas') diff --git a/src/base/UConfig.pas b/src/base/UConfig.pas index e48b5493..23ef0f3f 100644 --- a/src/base/UConfig.pas +++ b/src/base/UConfig.pas @@ -203,6 +203,16 @@ const (LIBSAMPLERATE_VERSION_RELEASE * VERSION_RELEASE); {$ENDIF} + {$IFNDEF lua_VERSION_MAJOR} + LUA_VERSION_MAJOR = '5'; + {$ENDIF} + {$IFNDEF lua_VERSION_MINOR} + LUA_VERSION_MINOR = '1'; + {$ENDIF} + {$IFNDEF lua_VERSION_RELEASE} + LUA_VERSION_RELEASE = '4'; + {$ENDIF} + function USDXVersionStr(): string; function USDXShortVersionStr(): string; -- cgit v1.2.3