diff options
author | jstebbins <[email protected]> | 2012-06-07 23:18:40 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2012-06-07 23:18:40 +0000 |
commit | 42f3324742a8aa77e65202e8549f5239e3d12d3a (patch) | |
tree | 2235e63d65e6b65eac413b7e1f1bb93ee8792efa /libhb | |
parent | 156f480430db82fb3dd20bbdab26abc2665a9fb1 (diff) |
Portability patches
gudev is only available on linux, so ifdef it out on all other systems.
also add some definitions to the make system for generic gnu and freebsd
systems.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4717 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/ports.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/ports.h b/libhb/ports.h index c1cadf785..14800bfe5 100644 --- a/libhb/ports.h +++ b/libhb/ports.h @@ -51,7 +51,7 @@ 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 ) || defined ( SYS_SunOS ) +#elif defined( SYS_LINUX ) || defined( SYS_FREEBSD ) || defined ( SYS_SunOS ) || defined ( __FreeBSD_kernel__ ) # define HB_LOW_PRIORITY 0 # define HB_NORMAL_PRIORITY 0 #elif defined( SYS_CYGWIN ) |