python/pytest-subtests: update to 0.14.0
[oi-userland.git] / components / scientific / gdl / patches / 09-saverestore.patch
blobb89ba0f83f2c1b86effb4b3cf601e42925105878
1 --- gdl-v1.0.6/src/saverestore.cpp.orig 2024-05-23 16:36:39.000000000 +0200
2 +++ gdl-v1.0.6/src/saverestore.cpp 2024-05-30 11:09:57.914642658 +0200
3 @@ -113,7 +113,13 @@
4 #define xdr_uint32_t xdr_u_int32_t
5 #define xdr_uint64_t xdr_u_int64_t
6 #endif
7 -
9 +#ifdef __illumos__
10 +#define u_int16_t uint16_t
11 +#define u_int32_t uint32_t
12 +#define u_int64_t uint64_t
13 +#endif
15 static u_int64_t ENDOFLIST = 0xFFFFFFFFFFFFFFFF;
16 // void writeCData(XDR *xdrs, BaseGDL* var);
17 // BaseGDL* readCData(EnvT* e, XDR *xdrs);