]> git.proxmox.com Git - mirror_zfs.git/blobdiff - lib/libspl/include/sys/feature_tests.h
Rename fallthrough to zfs_fallthrough
[mirror_zfs.git] / lib / libspl / include / sys / feature_tests.h
index c9564b2c3269b6c2abc9a053ecce2700d1896969..be0721b50529f345ae0a5abaa25cb358e49570a5 100644 (file)
 #define        ____cacheline_aligned
 #define        __NORETURN              __attribute__((__noreturn__))
 
-#if !defined(fallthrough) && !defined(_LIBCPP_VERSION)
+#if !defined(zfs_fallthrough) && !defined(_LIBCPP_VERSION)
 #if defined(HAVE_IMPLICIT_FALLTHROUGH)
-#define        fallthrough             __attribute__((__fallthrough__))
+#define        zfs_fallthrough         __attribute__((__fallthrough__))
 #else
-#define        fallthrough             ((void)0)
+#define        zfs_fallthrough         ((void)0)
 #endif
 #endif