mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +00:00
19 lines
507 B
C
Vendored
19 lines
507 B
C
Vendored
/**
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
* This file is part of the mingw-w64 runtime package.
|
|
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
|
*/
|
|
|
|
#undef __MSVCRT_VERSION__
|
|
#define _UCRT
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <internal.h>
|
|
|
|
void __cdecl __MINGW_ATTRIB_NORETURN _amsg_exit(int ret)
|
|
{
|
|
fprintf(stderr, "runtime error %d\n", ret);
|
|
_exit(255);
|
|
}
|
|
void __cdecl (*__MINGW_IMP_SYMBOL(_amsg_exit))(int) = _amsg_exit;
|