summaryrefslogtreecommitdiff
path: root/graphics/asymptote/prc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-03-09 03:04:53 +0000
committerNorbert Preining <norbert@preining.info>2024-03-09 03:04:53 +0000
commitbb1788335b7c394ee980b7b6f12b81f5223bbd63 (patch)
tree1c53bbe5ff2a09f7864c9f758ed934b014aa58f5 /graphics/asymptote/prc
parent0eba0875b1bcc4a022360ed72a29a81e041cd467 (diff)
CTAN sync 202403090304
Diffstat (limited to 'graphics/asymptote/prc')
-rw-r--r--graphics/asymptote/prc/oPRCFile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/asymptote/prc/oPRCFile.h b/graphics/asymptote/prc/oPRCFile.h
index fc45e58fb1..e5f7dc9d4f 100644
--- a/graphics/asymptote/prc/oPRCFile.h
+++ b/graphics/asymptote/prc/oPRCFile.h
@@ -41,7 +41,7 @@
#include "writePRC.h"
-#ifdef HAVE_RPC_RPC_H
+#ifdef HAVE_LIBTIRPC
#include "xstream.h"
#endif
@@ -94,7 +94,7 @@ struct RGBAColour
friend RGBAColour operator * (const double d, const RGBAColour& a)
{ return RGBAColour(a.R*d,a.G*d,a.B*d,a.A*d); }
-#ifdef HAVE_RPC_RPC_H
+#ifdef HAVE_LIBTIRPC
friend xdr::oxstream& operator<<(xdr::oxstream& out, RGBAColour const& col)
{
out << (float) col.R << (float) col.G << (float) col.B << (float) col.A;