mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
13 lines
587 B
C++
13 lines
587 B
C++
#pragma once
|
|
|
|
#include "fmt/core.h"
|
|
#include <cstdlib>
|
|
|
|
#define DIE(...) \
|
|
do { \
|
|
fmt::print(stderr, \
|
|
"{}:{} in {}: ", __FILE__, __LINE__, __func__); \
|
|
fmt::print(stderr, __VA_ARGS__); \
|
|
fmt::print(stderr, "\n"); \
|
|
std::abort(); \
|
|
} while(0)
|