media/libogg/solaris-types.patch
author Nick Alexander <nalexander@mozilla.com>
Mon, 09 Nov 2015 10:18:45 -0800
changeset 307655 4ed20ca285932773e617e1f477119d598118d6bc
parent 78530 df9d305be41206fc7c2549bdd105c1f04f39a9d9
permissions -rw-r--r--
Bug 938994 - Post: Update Gradle configurations. r?sebastian I moved the JAR out of the root directory because I didn't want multiple copies of things in robocop/ appearing in IntelliJ, although this turns out to not be strictly necessary. Keeping it as part of a general push to move things out of the root dumping ground.

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