aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_port.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-11-09 18:41:43 +0100
committerSverker Eriksson <[email protected]>2016-11-17 17:18:10 +0100
commit27e865d01ad49664897662ccc123d825505c0ff6 (patch)
tree8e2d2a54e64ea47e86f24fc96dc599b83702df6e /erts/emulator/beam/erl_port.h
parente770c849d011d8d5872e5f1400d77c25a9268186 (diff)
downloadotp-27e865d01ad49664897662ccc123d825505c0ff6.tar.gz
otp-27e865d01ad49664897662ccc123d825505c0ff6.tar.bz2
otp-27e865d01ad49664897662ccc123d825505c0ff6.zip
erts: Fix all -Wundef errors
Diffstat (limited to 'erts/emulator/beam/erl_port.h')
-rw-r--r--erts/emulator/beam/erl_port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_port.h b/erts/emulator/beam/erl_port.h
index f90844ccc8..0844dc0994 100644
--- a/erts/emulator/beam/erl_port.h
+++ b/erts/emulator/beam/erl_port.h
@@ -733,7 +733,7 @@ erts_thr_drvport2port(ErlDrvPort drvport, int lock_pdl)
if (lock_pdl && prt->port_data_lock)
driver_pdl_lock(prt->port_data_lock);
-#if ERTS_ENABLE_LOCK_CHECK
+#ifdef ERTS_ENABLE_LOCK_CHECK
if (!ERTS_IS_CRASH_DUMPING) {
if (erts_lc_is_emu_thr()) {
ERTS_SMP_LC_ASSERT(erts_lc_is_port_locked(prt));