diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 23:26:59 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 23:26:59 -0700 |
commit | 008137390b13414957e832a609ea269500507651 (patch) | |
tree | 02519710084941714affaa6082bfb38c0a9d9c2d /src/settings.js | |
parent | a24892cf4378138d67e56e37d053c5a574befdf8 (diff) |
emscripten.py option to expose header #defines to library. fixes fcntl
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index ed4fcd05..392263df 100644 --- a/src/settings.js +++ b/src/settings.js @@ -123,6 +123,9 @@ INCLUDE_FULL_LIBRARY = 0; // Whether to include the whole library rather than ju // dynamically loading modules that make use of runtime // library functions that are not used in the main module. +C_DEFINES = {}; // A set of defines, for example generated from your header files. + // This lets the emscripten libc see the right values + SHOW_LABELS = 0; // Show labels in the generated code BUILD_AS_SHARED_LIB = 0; // Whether to build the code as a shared library, which |