version 3.2.1 * Fix snprintf return value checking * Remove some warnings * Fix fbuffer result checking * Fix temporary object handling * Improve cmake support * Fix invalid `int main` parameter * Improve supporting platform * Fix ZLIB error handling * Remove unused variable * Improve integer overflow checking version 3.2.0 * Fix invalid include * Add timespec support * Fix unchecked fnprintf on C * Improve integer overflow checking on C * Fix warnings on `-Wconversion` * Fix invalid passed by value on aligned_zone_size_visitor * Improve windows support * Fix msgpack::object size caluclation error * Fix memory error on example code * Fix redundant memory allocation on C * Fix msgpack::type::tuple base class conversion
15 lines
718 B
C
15 lines
718 B
C
$NetBSD: patch-include_msgpack_vrefbuffer.h,v 1.3 2020/04/11 13:39:29 adam Exp $
|
|
|
|
FreeBSD fix.
|
|
|
|
--- include/msgpack/vrefbuffer.h.orig 2019-12-10 03:33:32.000000000 +0000
|
|
+++ include/msgpack/vrefbuffer.h
|
|
@@ -13,7 +13,7 @@
|
|
#include "zone.h"
|
|
#include <stdlib.h>
|
|
|
|
-#if defined(unix) || defined(__unix) || defined(__linux__) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__QNX__) || defined(__QNXTO__) || defined(__HAIKU__)
|
|
+#if defined(unix) || defined(__unix) || defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__QNX__) || defined(__QNXTO__) || defined(__HAIKU__)
|
|
#include <sys/uio.h>
|
|
#else
|
|
struct iovec {
|