From 69a606c4a45eba1b7d0c862b7797cdc3e5f40100 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 26 Jan 2021 11:43:00 -0800 Subject: Don't #define SIGINFO. We don't need it ourselves, and upstream now quietly does nothing on systems that don't have it. Also remove a commented-out #define that I accidentally added when creating this file. Test: treehugger Change-Id: I1da53f135949aaeb751ae11ff88a0ca7ce4bf99d --- freebsd-compat.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/freebsd-compat.h b/freebsd-compat.h index 5e39c5a..1fdbafe 100644 --- a/freebsd-compat.h +++ b/freebsd-compat.h @@ -14,12 +14,6 @@ // This is used as the size of the write buffer of sectors. #define MAXPHYS (1024 * 1024) -//#define static_assert _Static_assert - -// TODO: do we actually want this, or should we live without? -#define SIGINFO SIGUSR2 - - // On glibc, these headers use `__unused` as an identifier, so drag them in // first. #include -- cgit v1.2.3