[xiph-cvs] cvs commit: vorbis/lib os.h
Monty
xiphmont at xiph.org
Mon Sep 1 22:11:53 PDT 2003
xiphmont 03/09/02 01:11:53
Modified: lib os.h
Log:
Minor patch to compile with DJGPP
Revision Changes Path
1.33 +7 -3 vorbis/lib/os.h
Index: os.h
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/os.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- os.h 11 Jul 2002 06:40:49 -0000 1.32
+++ os.h 2 Sep 2003 05:11:53 -0000 1.33
@@ -13,7 +13,7 @@
********************************************************************
function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os.h,v 1.32 2002/07/11 06:40:49 xiphmont Exp $
+ last mod: $Id: os.h,v 1.33 2003/09/02 05:11:53 xiphmont Exp $
********************************************************************/
@@ -29,8 +29,12 @@
# define STIN static __inline__
# elif _WIN32
# define STIN static __inline
-#else
-# define STIN static
+# else
+# define STIN static
+# endif
+
+#ifdef DJGPP
+# define rint(x) (floor((x)+0.5f))
#endif
#ifndef M_PI
<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