mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
205a5d395b
Windows(tm) controls - like widget set for Motif(tm). PR: 8950 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
23 lines
487 B
Plaintext
23 lines
487 B
Plaintext
--- src/TimeEntry.c Fri Mar 14 21:50:04 1997
|
|
+++ /home/andy/tmp/wrk/src/TimeEntry.c Wed Dec 2 22:29:36 1998
|
|
@@ -1549,7 +1549,9 @@
|
|
{
|
|
struct tm ts;
|
|
long time_value;
|
|
+#ifndef __FreeBSD__
|
|
extern long timezone;
|
|
+#endif
|
|
|
|
ts.tm_mon = te->timeentry.month_value - 1;
|
|
ts.tm_mday = te->timeentry.day_value;
|
|
@@ -1574,7 +1576,9 @@
|
|
*/
|
|
if ( te->timeentry.use_timezone == False )
|
|
{
|
|
+#ifndef __FreeBSD__
|
|
time_value -= timezone;
|
|
+#endif
|
|
|
|
/*
|
|
* Adjust for Daylight Savings Time
|