From kde-commits Fri Jan 30 11:47:35 2009 From: Hasso Tepper Date: Fri, 30 Jan 2009 11:47:35 +0000 To: kde-commits Subject: branches/KDE/4.2/kdemultimedia/libkcompactdisc/wmlib/include Message-Id: <1233316055.711268.28693.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=123331606413609 SVN commit 918629 by hasso: Backport rev 918612 - make it build on DragonFly. M +2 -2 wm_config.h --- branches/KDE/4.2/kdemultimedia/libkcompactdisc/wmlib/include/wm_config.h #918628:918629 @@ -106,9 +106,9 @@ *** ****** ** ** ****** ****** ** ****** ** * ********** *** ****** ** ** ** ** **** *** *********** ******************************************************************/ -#if defined(__FreeBSD__) || defined(__FreeBSD) +#if defined(__FreeBSD__) || defined(__FreeBSD) || defined(__DragonFly__) -#if __FreeBSD_version >= 500100 +#if (defined(__FreeBSD_version) && __FreeBSD_version >= 500100) || defined(__DragonFly__) #define DEFAULT_CD_DEVICE "/dev/acd0" #else #define DEFAULT_CD_DEVICE "/dev/acd0c"