media/libogg/solaris-types.patch
author Jason Orendorff <jorendorff@mozilla.com>
Wed, 10 Oct 2018 17:47:54 +0000
changeset 499044 2c21c87e773ee1bfd796079fe5ffe06c2057b9ae
parent 80176 df9d305be41206fc7c2549bdd105c1f04f39a9d9
permissions -rw-r--r--
Bug 1497686 - Better error message when a jsapi-test fails with an exception pending. r=jwalden Differential Revision: https://phabricator.services.mozilla.com/D8154

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 */