[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: k3b_0_11_branch: kdeextragear-1/k3b/src/device
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2005-03-28 16:42:31
Message-ID: 20050328164231.1C414633 () office ! kde ! org
[Download RAW message or body]
CVS commit by trueg:
BACKPORT: fixed endian check
M +6 -6 k3bdevice.cpp 1.87.2.35
--- kdeextragear-1/k3b/src/device/k3bdevice.cpp #1.87.2.34:1.87.2.35
@@ -411,5 +411,5 @@ bool K3bCdDevice::CdDevice::init()
{
kdDebug() << "(K3bCdDevice) " << blockDeviceName() << " feature: " << \
"DVD+RW" << endl;
-#if __BYTE_ORDER == __BIG_ENDIAN
+#ifdef WORDS_BIGENDIAN
struct dvd_plus_rw_feature {
unsigned char reserved1 : 7;
@@ -439,5 +439,5 @@ bool K3bCdDevice::CdDevice::init()
{
kdDebug() << "(K3bCdDevice) " << blockDeviceName() << " feature: " << \
"DVD+R" << endl;
-#if __BYTE_ORDER == __BIG_ENDIAN
+#ifdef WORDS_BIGENDIAN
struct dvd_plus_r_feature {
unsigned char reserved1 : 7;
@@ -472,5 +472,5 @@ bool K3bCdDevice::CdDevice::init()
{
kdDebug() << "(K3bCdDevice) " << blockDeviceName() << " feature: " << \
"CD Track At Once" << endl;
-#if __BYTE_ORDER == __BIG_ENDIAN
+#ifdef WORDS_BIGENDIAN
struct cd_track_at_once_feature {
unsigned char reserved1 : 1;
@@ -511,5 +511,5 @@ bool K3bCdDevice::CdDevice::init()
{
kdDebug() << "(K3bCdDevice) " << blockDeviceName() << " feature: " << \
"CD Mastering" << endl;
-#if __BYTE_ORDER == __BIG_ENDIAN
+#ifdef WORDS_BIGENDIAN
struct cd_mastering_feature {
unsigned char reserved1 : 1;
@@ -549,5 +549,5 @@ bool K3bCdDevice::CdDevice::init()
{
kdDebug() << "(K3bCdDevice) " << blockDeviceName() << " feature: " << \
"DVD-R/-RW Write" << endl;
-#if __BYTE_ORDER == __BIG_ENDIAN
+#ifdef WORDS_BIGENDIAN
struct dvd_r_rw_write_feature {
unsigned char reserved1 : 1;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic