bsd compatibility mods
[goodguy/history.git] / cinelerra-5.1 / cinelerra / mwindow.C
index 992e9f342823dff1d3cec31537a08a3269725982..034b1bd6b04b03b1bffd1a84aa603bf8cb02ce61 100644 (file)
@@ -173,6 +173,7 @@ extern "C"
 }
 
 
+extern long cin_timezone;
 
 ArrayList<PluginServer*>* MWindow::plugindb = 0;
 Commercials* MWindow::commercials = 0;
@@ -423,8 +424,8 @@ const char *MWindow::default_std()
                }
        }
 
-//__timezone: Seconds west of UTC.  240sec/deg
-       double tz_deg = -__timezone / 240.;
+// cin_timezone: Seconds west of UTC.  240sec/deg
+       double tz_deg =  -cin_timezone / 240.;
 // from Honolulu = -10, to New York = -5, 15deg/hr   lat -150..-75
        return tz_deg >= -10*15 && tz_deg <= -5*15 ? "NTSC" : "PAL";
 }