+Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
+
+ * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
+ IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
+
Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
* nfs-utils.spec (Version): Set to 0.1.3.
f_print(fout, "#include <rpc/rpc.h>\n\n");
+ f_print(fout, "#ifndef IXDR_GET_INT32\n");
+ f_print(fout, "#define IXDR_GET_INT32(buf) IXDR_GET_LONG((buf))\n");
+ f_print(fout, "#endif\n");
+ f_print(fout, "#ifndef IXDR_PUT_INT32\n");
+ f_print(fout, "#define IXDR_PUT_INT32(buf, v) IXDR_PUT_LONG((buf), (v))\n");
+ f_print(fout, "#endif\n");
+ f_print(fout, "#ifndef IXDR_GET_U_INT32\n");
+ f_print(fout, "#define IXDR_GET_U_INT32(buf) IXDR_GET_U_LONG((buf))\n");
+ f_print(fout, "#endif\n");
+ f_print(fout, "#ifndef IXDR_PUT_U_INT32\n");
+ f_print(fout, "#define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_U_LONG((buf), (v))\n");
+ f_print(fout, "#endif\n");
+
tell = ftell(fout);
/* print data definitions */
while ((def = get_definition()) != NULL) {