Skip to content

Commit 93ef27b

Browse files
authored
fix preprocessor syntax (#60)
1 parent ce709d9 commit 93ef27b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/noobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ template <typename CLASS> NOBIND_INLINE CLASS *NoObjectWrap<CLASS>::Get() { retu
645645
#ifndef NOBIND_NO_ASYNC_LOCKING
646646
template <typename CLASS> NOBIND_INLINE void NoObjectWrap<CLASS>::Lock() NOBIND_NOEXCEPT {
647647
NOBIND_VERBOSE_TYPE(LOCK, CLASS, self, "Locking\n");
648-
#if defined(NOBIND_THROW_ON_EVENT_LOOP_BLOCK) or defined(NOBIND_WARN_ON_EVENT_LOOP_BLOCK)
648+
#if defined(NOBIND_THROW_ON_EVENT_LOOP_BLOCK) || defined(NOBIND_WARN_ON_EVENT_LOOP_BLOCK)
649649
Napi::Env env = this->Env();
650650
auto instance = env.GetInstanceData<BaseEnvInstanceData>();
651651
if (instance->js_thread == std::this_thread::get_id()) {

0 commit comments

Comments
 (0)