mirror of
https://github.com/json-c/json-c.git
synced 2026-03-19 21:19:06 +08:00
That hasn't been needed since since commit 6068d3f, which changed that code to
check an env var instead ("_JSON_C_STRERROR_ENABLE").
Fixes issue #812, about dup symbols in static builds with clang.
14 lines
180 B
C
14 lines
180 B
C
#ifdef NDEBUG
|
|
#undef NDEBUG
|
|
#endif
|
|
#include "strerror_override.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
puts(strerror(10000));
|
|
puts(strerror(999));
|
|
return 0;
|
|
}
|