[xiph-cvs] cvs commit: log log.c
Jack Moffitt
jack at xiph.org
Fri Oct 19 22:13:12 PDT 2001
jack 01/10/19 22:13:12
Modified: . log.c
Log:
Microsoft has '_' in front of random functions. We typedef this away.
Revision Changes Path
1.3 +4 -1 log/log.c
Index: log.c
===================================================================
RCS file: /usr/local/cvsroot/log/log.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- log.c 2001/09/23 10:07:06 1.2
+++ log.c 2001/10/20 05:13:12 1.3
@@ -17,6 +17,8 @@
#ifdef _WIN32
#define mutex_t CRITICAL_SECTION
+#define snprintf _snprintf
+#define vsnprintf _vsnprintf
#else
#define mutex_t pthread_mutex_t
#endif
@@ -84,7 +86,8 @@
_release_log_id(log_id);
return LOG_ECANTOPEN;
}
- setvbuf(loglist[log_id].logfile, NULL, _IOLBF, 0);
+
+ setvbuf(loglist[log_id].logfile, NULL, _IOLBF, 0);
return log_id;
}
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list