From 008137390b13414957e832a609ea269500507651 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 24 Sep 2011 23:26:59 -0700 Subject: emscripten.py option to expose header #defines to library. fixes fcntl --- src/settings.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/settings.js') 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 -- cgit v1.2.3-18-g5258