diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-31 14:40:44 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-31 14:40:44 (GMT) |
commit | 75b6f523ab85b9b9b256927183b4267573bbcd2e (patch) | |
tree | 4d1f76d072f8ce210ddbf85b32bb6783dc88844f /Utilities/cmtar/internal.h | |
parent | d512118079a7cf2a21dac13a29aaaa0563ef9e0e (diff) | |
download | CMake-75b6f523ab85b9b9b256927183b4267573bbcd2e.zip CMake-75b6f523ab85b9b9b256927183b4267573bbcd2e.tar.gz CMake-75b6f523ab85b9b9b256927183b4267573bbcd2e.tar.bz2 |
COMP: Attempt to fix problems with major and minor
Diffstat (limited to 'Utilities/cmtar/internal.h')
-rw-r--r-- | Utilities/cmtar/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmtar/internal.h b/Utilities/cmtar/internal.h index 60be2af..a382abd 100644 --- a/Utilities/cmtar/internal.h +++ b/Utilities/cmtar/internal.h @@ -15,9 +15,9 @@ #include <libtar/libtar.h> -#ifndef major +#ifndef HAVE_MAJOR # define major(dev) ((int)(((dev) >> 8) & 0xff)) #endif -#ifndef minor +#ifndef HAVE_MINOR # define minor(dev) ((int)((dev) & 0xff)) #endif |