head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.05.05.10.20.02; author jperkin; state Exp; branches; next ; commitid D0dw90ZNZw3LYBEG; desc @@ 1.1 log @libtpms: Portability fixes. Clean up pkglint while here. @ text @$NetBSD$ Support illumos. --- src/tpm2/TpmProfile_Common.h.orig 2026-05-05 09:42:19.104082485 +0000 +++ src/tpm2/TpmProfile_Common.h @@@@ -89,7 +89,7 @@@@ #else # include #endif -#if defined __linux__ || defined __CYGWIN__ +#if defined __linux__ || defined __CYGWIN__ || defined __illumos__ #if __BYTE_ORDER == __LITTLE_ENDIAN #define BIG_ENDIAN_TPM NO #endif @