https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
12 lines
227 B
C
12 lines
227 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
void *localtime64() {
|
|
fprintf(stderr, "nixpkgs: call into localtime64_r\n");
|
|
abort();
|
|
}
|
|
|
|
void *localtime64_r() {
|
|
fprintf(stderr, "nixpkgs: call into localtime64_r\n");
|
|
abort();
|
|
}
|