X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=psi.d%2Ftime.psi;h=f38023466f121af25f0af144b19e6e2a7702db46;hp=716e17610bd5b8613671417d488018c6c1ec8685;hb=4bf8ff5e477da2fa4f82518bb947055c2c0374d6;hpb=fecb0372ee8e219a7ebd51406dee3e1008ccb7ec diff --git a/psi.d/time.psi b/psi.d/time.psi index 716e176..f380234 100644 --- a/psi.d/time.psi +++ b/psi.d/time.psi @@ -1,5 +1,5 @@ -#ifdef linux /* old, anyway */ -lib "rt"; +#ifdef __linux__ /* old, anyway */ +#pragma lib "rt" #endif #include @@ -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)); }