[xiph-cvs] cvs commit: ices/src im_oss.c

Michael Smith msmith at xiph.org
Sun Dec 29 02:55:46 PST 2002



msmith      02/12/29 05:55:46

  Modified:    src      im_oss.c
  Log:
  #define for missing stuff on freebsd

Revision  Changes    Path
1.8       +8 -1      ices/src/im_oss.c

Index: im_oss.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/im_oss.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- im_oss.c	9 Aug 2002 13:52:56 -0000	1.7
+++ im_oss.c	29 Dec 2002 10:55:46 -0000	1.8
@@ -1,7 +1,7 @@
 /* im_oss.c
  * - Raw PCM input from OSS devices
  *
- * $Id: im_oss.c,v 1.7 2002/08/09 13:52:56 msmith Exp $
+ * $Id: im_oss.c,v 1.8 2002/12/29 10:55:46 msmith Exp $
  *
  * Copyright (c) 2001 Michael Smith <msmith at labyrinth.net.au>
  *
@@ -35,6 +35,13 @@
 #include "logging.h"
 
 #define BUFSIZE 8192
+
+/* Some platforms (freebsd) don't define this, so just define it to something
+ * that should be treated the same
+ */
+#ifndef ERESTART
+#define ERESTART EINTR
+#endif
 
 static void close_module(input_module_t *mod)
 {

<p><p>--- >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