X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=psi.d%2Ftime.psi;h=152eba36ff51f74e43f28d4dd120b4b326539f47;hp=716e17610bd5b8613671417d488018c6c1ec8685;hb=01147b369f0fde8119074435b296bd8197489088;hpb=fecb0372ee8e219a7ebd51406dee3e1008ccb7ec diff --git a/psi.d/time.psi b/psi.d/time.psi index 716e176..152eba3 100644 --- a/psi.d/time.psi +++ b/psi.d/time.psi @@ -1,4 +1,4 @@ -#ifdef linux /* old, anyway */ +#ifdef __linux__ /* old, anyway */ lib "rt"; #endif @@ -124,5 +124,5 @@ function psi\tzset() : void { } function psi\tzname() : array { - return tzname_get() as to_array(tzname_get, 2, to_string(*tzname_get)); + return tzname_get() as to_array(*tzname_get, 2, to_string(*tzname_get)); }