Oh my fucking god this was by far the most awful and boring and tedious day in my entire life. Also, dear FreeBSD people: please don't sue me. I tried really hard to comply with all the copyright stuff, but it is absolutely possible i made a mistake. Just DM me and i'll do everything in my power to fix it, even if that means releasing entire portions of GayBSD under the BSD license. I don't care, i just want stuff to work. (i'm including this message to use it as possible evidence in case i get sued to show my good will)
27 lines
937 B
C
27 lines
937 B
C
/* See the end of this file for copyright and license terms. */
|
|
|
|
#pragma once
|
|
|
|
typedef __builtin_va_list va_list;
|
|
|
|
#define va_start(ap, arg) __builtin_va_start(ap, arg)
|
|
#define va_end(ap) __builtin_va_end(ap)
|
|
#define va_arg(ap, type) __builtin_va_arg(ap, type)
|
|
|
|
#if _GAY_SOURCE >= 202109L || __STDC_VERSION__ >= 199900L
|
|
#define va_copy(dest, src) __builtin_va_copy(dest, src)
|
|
#endif
|
|
|
|
/*
|
|
* This file is part of GayBSD.
|
|
* Copyright (c) 2021 fef <owo@fef.moe>.
|
|
*
|
|
* GayBSD is nonviolent software: you may only use, redistribute, and/or
|
|
* modify it under the terms of the Cooperative Nonviolent Public License
|
|
* (CNPL) as found in the LICENSE file in the source code root directory
|
|
* or at <https://git.pixie.town/thufie/npl-builder>; either version 7
|
|
* of the license, or (at your option) any later version.
|
|
*
|
|
* GayBSD comes with ABSOLUTELY NO WARRANTY, to the extent
|
|
* permitted by applicable law. See the CNPL for details.
|
|
*/
|