2015-07-25 23:35:51 +02:00
|
|
|
#include "tzversion.h"
|
2015-07-29 20:14:38 +02:00
|
|
|
|
2015-07-25 23:35:51 +02:00
|
|
|
int main(const int argc, char *argv[])
|
|
|
|
|
{
|
|
|
|
|
int result;
|
|
|
|
|
struct tm tm;
|
2016-10-25 21:12:38 +00:00
|
|
|
time_t now;
|
|
|
|
|
amiga_open_libs();
|
2015-07-25 23:35:51 +02:00
|
|
|
now = time(NULL);
|
|
|
|
|
localtime_r(&now, &tm);
|
|
|
|
|
result = tm.tm_isdst ? 5 : 0;
|
|
|
|
|
return result;
|
|
|
|
|
}
|