diff --git a/3rdparty/libossia b/3rdparty/libossia index 659204b113..b8b2e630e7 160000 --- a/3rdparty/libossia +++ b/3rdparty/libossia @@ -1 +1 @@ -Subproject commit 659204b1135b95f689c5594a38ed9431939e16f1 +Subproject commit b8b2e630e77fc85473e579e260a8e91548de43a3 diff --git a/3rdparty/libsimpleio/libsimpleio/macros.inc b/3rdparty/libsimpleio/libsimpleio/macros.inc new file mode 100644 index 0000000000..e05c0c1907 --- /dev/null +++ b/3rdparty/libsimpleio/libsimpleio/macros.inc @@ -0,0 +1,27 @@ +// Define macros for display error messages + +// Copyright (C)2016-2023, Philip Munts dba Munts Technologies. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// * Redistributions of source code must retain the above copyright notice, +// this list of conditions and the following disclaimer. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. + +void PrintErrorMessage(const char *func, const char *file, int line, const char *msg, int err); + +#define ERRORMSG(msg, err, line) PrintErrorMessage(__func__, __FILE__, line, msg, err) + +#define ALIAS(orig) __attribute__((alias(orig)))