diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-01-23 16:26:52 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-01-23 16:26:52 +0000 |
commit | 16a86be01aa1f097c5ceaea9ea96253e55d9a016 (patch) | |
tree | 116b6924241a060b11edec29f9c8ac2727b3bcc8 /bufaux.c | |
parent | bda5bdcf8d1238b75e29094155da16e058b6e33b (diff) |
- (bal) no 64bit support patch from Tim Rice <tim@multitalents.net>
Diffstat (limited to 'bufaux.c')
-rw-r--r-- | bufaux.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -152,6 +152,7 @@ buffer_get_int(Buffer *buffer) return GET_32BIT(buf); } +#ifdef HAVE_U_INT64_T u_int64_t buffer_get_int64(Buffer *buffer) { @@ -159,6 +160,7 @@ buffer_get_int64(Buffer *buffer) buffer_get(buffer, (char *) buf, 8); return GET_64BIT(buf); } +#endif /* * Stores an integer in the buffer in 4 bytes, msb first. @@ -171,6 +173,7 @@ buffer_put_int(Buffer *buffer, u_int value) buffer_append(buffer, buf, 4); } +#ifdef HAVE_U_INT64_T void buffer_put_int64(Buffer *buffer, u_int64_t value) { @@ -178,6 +181,7 @@ buffer_put_int64(Buffer *buffer, u_int64_t value) PUT_64BIT(buf, value); buffer_append(buffer, buf, 8); } +#endif /* * Returns an arbitrary binary string from the buffer. The string cannot |