Sign in
android
/
platform
/
external
/
pytorch
/
c81406c514
/
.
/
torch
/
lib
/
libshm
/
err.h
blob: e2244b5ef24931948b4dc15cb4fda23583ce619d [
file
] [
log
] [
blame
]
#pragma
once
#include
<system_error>
#define
SYSCHECK
(
call
)
{
auto
__ret
=
(
call
);
if
(
__ret
<
0
)
{
throw
std
::
system_error
(
errno
,
std
::
system_category
());
}
}