X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=libhb%2Fports.h;h=c544f19a6a236db5affdadda8292a549d394c966;hb=69bcedab6772552b36bc8f1591db6ea0c8de08c3;hp=4639c6b939c0ceb6fa885b5db8aa0486160d7ca7;hpb=cdba71d1dca214142fdcca4c52f7672252752c2e;p=handbrake-jp%2Fhandbrake-jp-git.git
diff --git a/libhb/ports.h b/libhb/ports.h
index 4639c6b9..c544f19a 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
@@ -37,12 +37,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 *),
@@ -53,7 +56,6 @@ int hb_thread_has_exited( hb_thread_t * );
/************************************************************************
* Mutexes
***********************************************************************/
-typedef struct hb_lock_s hb_lock_t;
hb_lock_t * hb_lock_init();
void hb_lock_close( hb_lock_t ** );