From: Gaige B. Paulsen Date: Thu, 31 Aug 2023 11:40:44 +0000 (+0000) Subject: fix: support solaris and deriv X-Git-Tag: pool-3.1.8~18^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d373de7d91f4977031fad98ebcb8140040cba9c;p=thirdparty%2Fpsycopg.git fix: support solaris and deriv --- diff --git a/psycopg_c/psycopg_c/_psycopg/endian.pxd b/psycopg_c/psycopg_c/_psycopg/endian.pxd index 44e730561..17a4a547f 100644 --- a/psycopg_c/psycopg_c/_psycopg/endian.pxd +++ b/psycopg_c/psycopg_c/_psycopg/endian.pxd @@ -131,6 +131,8 @@ cdef extern from * nogil: # define __LITTLE_ENDIAN LITTLE_ENDIAN # define __PDP_ENDIAN PDP_ENDIAN +#elif defined(__sun) +# include #else # error platform not supported