summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/internal.h')
-rw-r--r--Utilities/cmtar/internal.h4
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