-
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix/Enhance: Load LuaGlobal.lua from LUA_DEFAULT_PATH
Add comptile-time fallback to LuaGlobal.lua loading logic to attempt to load from LUA_DEFAULT_PATH, defined in src/src.pro using the value from LUA_DEFAULT_DIR. For platforms that don't currently define LUA_DEFAULT_DIR in src/src.pro (e.g. win32, macx), the loading logic will behave as though LUA_DEFAULT_DIR were defined as "/", the root directory. This is accomplished by compile time concatenation of LUA_DEFAULT_PATH and the string literal "/". If necessary, LUA_DEFAULT_DIR can later be defined for additional platforms (win32, macx, etc) in src/src.pro to provide a different compile-time fallback for that platform.
- Loading branch information
1 parent
1229657
commit ee48788
Showing
5 changed files
with
52 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters