media/liboggz/oggz_os2.patch
author Taras Glek <tglek@mozilla.com>
Sat, 08 Aug 2009 12:07:39 +0200
changeset 31243 ff9eba3f82245af4bbee39ba022725e8ed3998ce
parent 30593 cc7766d63a137d75a6b7c69fd36367f058404f1d
permissions -rw-r--r--
Bug 504864 - mmap io for JARs; r=benjamin

diff --git a/media/liboggz/include/oggz/oggz_off_t_generated.h b/media/liboggz/include/oggz/oggz_off_t_generated.h
--- a/media/liboggz/include/oggz/oggz_off_t_generated.h
+++ b/media/liboggz/include/oggz/oggz_off_t_generated.h
@@ -54,17 +54,17 @@
  <pre>
    echo "gcc -E oggz.h | grep oggz_off_t
  </pre>
  * 
  */
 
 #include <sys/types.h>
 
-#if defined(__APPLE__) || defined(SOLARIS)
+#if defined(__APPLE__) || defined(SOLARIS) || defined(OS2)
 typedef off_t oggz_off_t;
 #else
 typedef loff_t oggz_off_t;
 #endif
 
 #define PRI_OGGZ_OFF_T "PRId64"
 
 #endif /* __OGGZ_OFF_T_GENERATED__ */