ossp-pkg/xds/xds.h.in 1.8 -> 1.9
--- xds.h.in 2001/08/02 08:12:26 1.8
+++ xds.h.in 2001/08/02 14:39:15 1.9
@@ -38,14 +38,18 @@
#define XDS_TRUE (1==1)
#define XDS_FALSE (1!=1)
+@have_64_bit_support@
+
typedef @xds_uint8_t@ xds_uint8_t;
-typedef @xds_uint16_t@ xds_uint16_t;
-typedef @xds_uint32_t@ xds_uint32_t;
-typedef @xds_uint64_t@ xds_uint64_t;
typedef @xds_int8_t@ xds_int8_t;
+typedef @xds_uint16_t@ xds_uint16_t;
typedef @xds_int16_t@ xds_int16_t;
+typedef @xds_uint32_t@ xds_uint32_t;
typedef @xds_int32_t@ xds_int32_t;
+#ifdef XDS_HAVE_64_BIT_SUPPORT
+typedef @xds_uint64_t@ xds_uint64_t;
typedef @xds_int64_t@ xds_int64_t;
+#endif
typedef double xds_double_t;
enum
@@ -126,10 +130,12 @@
xds_declare_formatting_engine(xdr_decode_uint32);
xds_declare_formatting_engine(xdr_encode_int32);
xds_declare_formatting_engine(xdr_decode_int32);
+#ifdef XDS_HAVE_64_BIT_SUPPORT
xds_declare_formatting_engine(xdr_encode_uint64);
xds_declare_formatting_engine(xdr_decode_uint64);
xds_declare_formatting_engine(xdr_encode_int64);
xds_declare_formatting_engine(xdr_decode_int64);
+#endif
xds_declare_formatting_engine(xdr_encode_double);
xds_declare_formatting_engine(xdr_decode_double);
xds_declare_formatting_engine(xdr_encode_octetstream);
@@ -145,10 +151,12 @@
xds_declare_formatting_engine(xml_decode_uint32);
xds_declare_formatting_engine(xml_encode_int32);
xds_declare_formatting_engine(xml_decode_int32);
+#ifdef XDS_HAVE_64_BIT_SUPPORT
xds_declare_formatting_engine(xml_encode_uint64);
xds_declare_formatting_engine(xml_decode_uint64);
xds_declare_formatting_engine(xml_encode_int64);
xds_declare_formatting_engine(xml_decode_int64);
+#endif
xds_declare_formatting_engine(xml_encode_double);
xds_declare_formatting_engine(xml_decode_double);
xds_declare_formatting_engine(xml_encode_octetstream);
|
|