summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
Diffstat (limited to 'source/include')
-rw-r--r--source/include/config.h.in3
-rw-r--r--source/include/smb.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/source/include/config.h.in b/source/include/config.h.in
index ed74b6e5560..b4a4f134e48 100644
--- a/source/include/config.h.in
+++ b/source/include/config.h.in
@@ -142,7 +142,8 @@
#undef SIZEOF_OFF_T
#undef STAT_STATVFS64
#undef HAVE_LIBREADLINE
-#undef HAVE_KERNEL_OPLOCKS
+#undef HAVE_KERNEL_OPLOCKS_IRIX
+#undef HAVE_KERNEL_OPLOCKS_LINUX
#undef HAVE_IRIX_SPECIFIC_CAPABILITIES
#undef HAVE_INT16_FROM_RPC_RPC_H
#undef HAVE_UINT16_FROM_RPC_RPC_H
diff --git a/source/include/smb.h b/source/include/smb.h
index e2ce6526089..0b53146259a 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -1624,7 +1624,7 @@ extern int chain_size;
#define KERNEL_OPLOCK_CAPABILITY 0x1
-#if defined(HAVE_KERNEL_OPLOCKS)
+#if defined(HAVE_KERNEL_OPLOCKS_IRIX)
/*
* Oplock break command code sent via the kernel interface.
*
@@ -1641,7 +1641,7 @@ extern int chain_size;
#define KERNEL_OPLOCK_BREAK_INODE_OFFSET (KERNEL_OPLOCK_BREAK_DEV_OFFSET + sizeof(SMB_DEV_T))
#define KERNEL_OPLOCK_BREAK_MSG_LEN (KERNEL_OPLOCK_BREAK_INODE_OFFSET + sizeof(SMB_INO_T))
-#endif /* HAVE_KERNEL_OPLOCKS */
+#endif /* HAVE_KERNEL_OPLOCKS_IRIX */
#define CMD_REPLY 0x8000