aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-10-02 13:14:55 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-10-02 13:19:40 +0300
commit44449f648c8f92c37db87f520c8294e02e822c1c (patch)
tree760e6d51eb283b8ee97ad8163b4c3bc9d1ca4b9f /src/settings.js
parent352f3f4f10f11ed00b8b0df714ef93b92a271758 (diff)
Add -s CASE_INSENSITIVE_FS=1 linker option to allow VFS to lookup files in case-insensitive mode.
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index 6e2b9e6c..5cf054a9 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -266,6 +266,8 @@ var CORRECT_ROUNDINGS = 1; // C rounds to 0 (-5.5 to -5, +5.5 to 5), while JS ha
var FS_LOG = 0; // Log all FS operations. This is especially helpful when you're porting
// a new project and want to see a list of file system operations happening
// so that you can create a virtual file system with all of the required files.
+var CASE_INSENSITIVE_FS = 0; // If set to nonzero, the provided virtual filesystem if treated case-insensitive, like
+ // Windows and OSX do. If set to 0, the VFS is case-sensitive, like on Linux.
var USE_BSS = 1; // https://en.wikipedia.org/wiki/.bss
// When enabled, 0-initialized globals are sorted to the end of the globals list,