diff options
author | Rickard Green <[email protected]> | 2012-12-11 16:45:22 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2012-12-11 16:45:22 +0100 |
commit | c67947778ec1c18b680db6613b1d00dd46065956 (patch) | |
tree | 5b144370eaafd17f3a96d458366e24b2370140aa /erts/emulator/beam/io.c | |
parent | b9e3557a963471661f3b13da37ba758686192aec (diff) | |
download | otp-c67947778ec1c18b680db6613b1d00dd46065956.tar.gz otp-c67947778ec1c18b680db6613b1d00dd46065956.tar.bz2 otp-c67947778ec1c18b680db6613b1d00dd46065956.zip |
Fix debug build on threads disabled build
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r-- | erts/emulator/beam/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c index 3fc124589b..be094862d4 100644 --- a/erts/emulator/beam/io.c +++ b/erts/emulator/beam/io.c @@ -434,7 +434,7 @@ erts_port_cleanup(Port *prt) void erts_port_free(Port *prt) { -#if defined(ERTS_SMP) || defined(ERTS_ENABLE_LOCK_CHECK) +#if defined(ERTS_SMP) || defined(DEBUG) || defined(ERTS_ENABLE_LOCK_CHECK) erts_aint32_t state = erts_atomic32_read_nob(&prt->state); #endif ERTS_LC_ASSERT(state & (ERTS_PORT_SFLG_INITIALIZING |