summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-06-06 07:13:57 +0000
committerrwatson <rwatson@FreeBSD.org>2009-06-06 07:13:57 +0000
commitcce3b632d81f2213b531178ef3c93a11f9a93e1b (patch)
tree82bb93e253a097cf226d65a17012cb921cd96c35 /sys/fs
parent8b0be2f4d32382d5d406e9dfec8ea38827b4bb46 (diff)
downloadFreeBSD-src-cce3b632d81f2213b531178ef3c93a11f9a93e1b.zip
FreeBSD-src-cce3b632d81f2213b531178ef3c93a11f9a93e1b.tar.gz
Use #ifdef APPLE_MAC instead of #ifdef MAC to conditionalize Apple-specific
behavior for unicode support in UDF so as not to conflict with the MAC Framework. Note that Apple's XNU kernel also uses #ifdef MAC for the MAC Framework. Suggested by: pjd MFC after: 3 days
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/udf/osta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/udf/osta.c b/sys/fs/udf/osta.c
index 81c7286..70a22d9 100644
--- a/sys/fs/udf/osta.c
+++ b/sys/fs/udf/osta.c
@@ -280,7 +280,7 @@ main()
* Define MAXLEN = 255
*
* Macintosh:
- * Define MAC.
+ * Define APPLE_MAC.
* Define MAXLEN = 31.
*
* UNIX
@@ -484,7 +484,7 @@ int UnicodeInString(
*/
int IsIllegal(unicode_t ch)
{
-#ifdef MAC
+#ifdef APPLE_MAC
/* Only illegal character on the MAC is the colon. */
if (ch == 0x003A) {
return(1);
OpenPOWER on IntegriCloud