kripken/emscripten — pull request #1969 by juj (2014-01-03 18:47:21+00:00)
Title: Add C preprocessor support to JS libraries.

Implement better support for C preprocessing directives. Enables the use of #if , <=, >=, ==, !=, defined()>. Adds support for #define, #undef, #ifdef, #ifndef, #elif, #warning and #error. Does not (yet?) implement support for preprocessor macros, or text substitution outside preprocessor directives with #define. Add unit test.