[xiph-cvs] cvs commit: ogg/include/ogg config_types.h.in os_types.h

Monty xiphmont at xiph.org
Tue Sep 17 21:42:09 PDT 2002



xiphmont    02/09/18 00:42:09

  Modified:    include/ogg config_types.h.in os_types.h
  Log:
  Add ogg_uint16_t for Theora

Revision  Changes    Path
1.2       +1 -0      ogg/include/ogg/config_types.h.in

Index: config_types.h.in
===================================================================
RCS file: /usr/local/cvsroot/ogg/include/ogg/config_types.h.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- config_types.h.in	6 Oct 2000 07:32:30 -0000	1.1
+++ config_types.h.in	18 Sep 2002 04:42:09 -0000	1.2
@@ -3,6 +3,7 @@
 
 /* these are filled in by configure */
 typedef @SIZE16@ ogg_int16_t;
+typedef @USIZE16@ ogg_uint16_t;
 typedef @SIZE32@ ogg_int32_t;
 typedef @USIZE32@ ogg_uint32_t;
 typedef @SIZE64@ ogg_int64_t;

<p><p>1.12      +7 -1      ogg/include/ogg/os_types.h

Index: os_types.h
===================================================================
RCS file: /usr/local/cvsroot/ogg/include/ogg/os_types.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- os_types.h	19 Jul 2002 08:25:51 -0000	1.11
+++ os_types.h	18 Sep 2002 04:42:09 -0000	1.12
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os_types.h,v 1.11 2002/07/19 08:25:51 msmith Exp $
+ last mod: $Id: os_types.h,v 1.12 2002/09/18 04:42:09 xiphmont Exp $
 
  ********************************************************************/
 #ifndef _OS_TYPES_H
@@ -32,6 +32,7 @@
    typedef __int32 ogg_int32_t;
    typedef unsigned __int32 ogg_uint32_t;
    typedef __int16 ogg_int16_t;
+   typedef unsigned __int16 ogg_uint16_t;
 #  else
    /* Cygwin */
    #include <_G_config.h>
@@ -39,12 +40,14 @@
    typedef _G_int32_t ogg_int32_t;
    typedef _G_uint32_t ogg_uint32_t;
    typedef _G_int16_t ogg_int16_t;
+   typedef _G_uint16_t ogg_uint16_t;
 #  endif
 
 #elif defined(__MACOS__)
 
 #  include <sys/types.h>
    typedef SInt16 ogg_int16_t;
+   typedef UInt16 ogg_uint16_t;
    typedef SInt32 ogg_int32_t;
    typedef UInt32 ogg_uint32_t;
    typedef SInt64 ogg_int64_t;
@@ -53,6 +56,7 @@
 
 #  include <sys/types.h>
    typedef int16_t ogg_int16_t;
+   typedef u_int16_t ogg_uint16_t;
    typedef int32_t ogg_int32_t;
    typedef u_int32_t ogg_uint32_t;
    typedef int64_t ogg_int64_t;
@@ -62,6 +66,7 @@
    /* Be */
 #  include <inttypes.h>
    typedef int16_t ogg_int16_t;
+   typedef u_int16_t ogg_uint16_t;
    typedef int32_t ogg_int32_t;
    typedef u_int32_t ogg_uint32_t;
    typedef int64_t ogg_int64_t;
@@ -70,6 +75,7 @@
 
    /* OS/2 GCC */
    typedef short ogg_int16_t;
+   typedef unsigned short ogg_uint16_t;
    typedef int ogg_int32_t;
    typedef unsigned int ogg_uint32_t;
    typedef long long ogg_int64_t;

<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