Displaying 1 result from an estimated 1 matches for "timer_start".
Did you mean:
time_start
2000 Dec 15
2
Ports
...de(FILE *f)
{
_setmode( _fileno(f), _O_BINARY );
@@ -49,8 +57,14 @@
}
#endif
+#ifdef __WATCOMC__
+void setbinmode(FILE *f)
+{
+ setmode( fileno(f), O_BINARY );
+}
+#endif
-#if defined(_WIN32) || defined(__EMX__)
+#if defined(_WIN32) || defined(__EMX__) || defined(__WATCOMC__)
void *timer_start(void)
{
time_t *start = malloc(sizeof(time_t));
@@ -102,3 +116,9 @@
#endif
+void lower_priority()
+{
+#ifdef __OS2__
+ DosSetPriority( PRTYS_PROCESS, PRTYC_IDLETIME, 16, 0 );
+#endif
+}
Index: oggenc/platform.h
===================================================================
RCS f...