X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;ds=inline;f=libhb%2Fports.h;h=0f3697f0def413ffec03e4426e0ca28d3b890a74;hb=033e32de9c380f54c7d1362a3979da205ebc3a29;hp=47df1ce5ee1802f313016fb805a7a7614d7b39aa;hpb=52d45181a7d1df6016d32c1842622660224538e0;p=handbrake-jp%2Fhandbrake-jp-git.git
diff --git a/libhb/ports.h b/libhb/ports.h
index 47df1ce5..0f3697f0 100644
--- a/libhb/ports.h
+++ b/libhb/ports.h
@@ -1,7 +1,7 @@
/* $Id: ports.h,v 1.7 2005/10/15 18:05:03 titer Exp $
This file is part of the HandBrake source code.
- Homepage: .
+ Homepage: .
It may be used under the terms of the GNU General Public License. */
#ifndef HB_PORTS_H
@@ -19,6 +19,11 @@ int hb_get_cpu_count();
/* Everything from now is only used internally and hidden to the UI */
/************************************************************************
+ * DVD utils
+ ***********************************************************************/
+int hb_dvd_region(char *device, int *region_mask);
+
+/************************************************************************
* Files utils
***********************************************************************/
void hb_get_tempory_directory( hb_handle_t * h, char path[512] );
@@ -37,12 +42,15 @@ typedef struct hb_thread_s hb_thread_t;
#elif defined( SYS_DARWIN )
# define HB_LOW_PRIORITY 0
# define HB_NORMAL_PRIORITY 31
-#elif defined( SYS_LINUX ) || defined( SYS_FREEBSD )
+#elif defined( SYS_LINUX ) || defined( SYS_FREEBSD ) || defined ( SYS_SunOS )
# define HB_LOW_PRIORITY 0
# define HB_NORMAL_PRIORITY 0
#elif defined( SYS_CYGWIN )
# define HB_LOW_PRIORITY 0
# define HB_NORMAL_PRIORITY 1
+#elif defined( SYS_MINGW )
+# define HB_LOW_PRIORITY 0
+# define HB_NORMAL_PRIORITY 0
#endif
hb_thread_t * hb_thread_init( char * name, void (* function)(void *),