mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
12 lines
230 B
C
12 lines
230 B
C
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
char *getenv(const char *varname) {
|
||
|
if(!strcmp(varname, "LIBUNWIND_PRINT_APIS") ||
|
||
|
!strcmp(varname, "LIBUNWIND_PRINT_UNWINDING")) {
|
||
|
return "1";
|
||
|
} else {
|
||
|
return NULL;
|
||
|
}
|
||
|
}
|