diff options
author | 2020-08-04 23:53:52 -0700 | |
---|---|---|
committer | 2020-08-04 23:53:52 -0700 | |
commit | d2b7643753f3ed24587cf455827c04168ffbe38f (patch) | |
tree | 6783cc840fd92c79933c1b6572a118a9df3dc2dd /src/lib/netlist/plib/pconfig.h | |
parent | 2dd0985999b8f93afb4a59e89f0d2ec2a9a4d80f (diff) |
netlist: Better fixes for Emscripten (#7031)
Silence indentation warning in 3rdparty/ under Emscripten (#7031)
Diffstat (limited to 'src/lib/netlist/plib/pconfig.h')
-rw-r--r-- | src/lib/netlist/plib/pconfig.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/netlist/plib/pconfig.h b/src/lib/netlist/plib/pconfig.h index 848a813e094..c80f1bbadd6 100644 --- a/src/lib/netlist/plib/pconfig.h +++ b/src/lib/netlist/plib/pconfig.h @@ -41,8 +41,12 @@ /// Set this to one if you want to use aligned storage optimizations. /// #ifndef PUSE_ALIGNED_OPTIMIZATIONS +#if defined(__EMSCRIPTEN__) +#define PUSE_ALIGNED_OPTIMIZATIONS (0) +#else #define PUSE_ALIGNED_OPTIMIZATIONS (1) #endif +#endif /// \brief Use aligned allocations. /// |