Skip to content

Commit 89f2018

Browse files
committed
Fix for compile on MacOS clang
1 parent d70394c commit 89f2018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libusbp_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#pragma once
55
#include <libusbp_config.h>
66
#include <libusbp.h>
7-
#if BUILD_SYSTEM_LIBUSBP_VERSION_MAJOR != LIBUSBP_VERSION_MAJOR
7+
#if (NOT BUILD_SYSTEM_LIBUSBP_VERSION_MAJOR == LIBUSBP_VERSION_MAJOR)
88
#error Major version in libusbp.h disagrees with build system.
99
#endif
1010
#endif

0 commit comments

Comments
 (0)