media/libogg/solaris-types.patch
author Joey Armstrong <joey@mozilla.com>
Fri, 06 Apr 2012 14:07:46 -0400
changeset 91537 b23771ca17fd1362243886e1beeab45ce5dc87e5
parent 78530 df9d305be41206fc7c2549bdd105c1f04f39a9d9
permissions -rw-r--r--
Bug 741839 - Consolidate wildcard calls in client.mk. r=ted

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