Commit b8697729 authored by Nick Connolly's avatar Nick Connolly Committed by Tomasz Zawadzki
Browse files

Include: Test for __linux__



Explicitly test for __linux__ which is clearly the intent and
matches the behaviour described in the comments.

Signed-off-by: default avatarNick Connolly <nick.connolly@mayadata.io>
Change-Id: I498476f4a214891b897609924e018c5b132afaf2
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5143


Community-CI: Mellanox Build Bot
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@mellanox.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 5c5a44f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ extern "C" {
 *  use of features in FreeBSD's queue.h that do not exist on Linux.
 *  Include a header with these additional features on Linux only.
 */
#ifndef __FreeBSD__
#ifdef __linux__
#include "spdk/queue_extras.h"
#endif