media/libogg/solaris-types.patch
author Eric Faust <efaustbmo@gmail.com>
Thu, 08 Oct 2015 21:07:47 -0700
changeset 300408 4fed2969228466303141ed72f29cba5d123ea079
parent 79877 df9d305be41206fc7c2549bdd105c1f04f39a9d9
permissions -rw-r--r--
Bug 1141863 - Followfollowfollowup: Remove redundant assert causing rooting hazards. (r=Waldo over IRC) CLOSED TREE

Index: include/ogg/os_types.h
===================================================================
--- include/ogg/os_types.h      (revision 18100)
+++ include/ogg/os_types.h      (working copy)
@@ -75,6 +75,16 @@
    typedef uint32_t ogg_uint32_t;
    typedef int64_t ogg_int64_t;
 
+#elif defined(__sun__)
+
+   /* Solaris and derivatives */
+#  include <inttypes.h>
+   typedef int16_t ogg_int16_t;
+   typedef uint16_t ogg_uint16_t;
+   typedef int32_t ogg_int32_t;
+   typedef uint32_t ogg_uint32_t;
+   typedef int64_t ogg_int64_t;
+
 #elif defined(__HAIKU__)
 
   /* Haiku */