diff --git a/base/public/nsFileSpec.h b/base/public/nsFileSpec.h index 13a099581d63..54495c5e2fdd 100644 --- a/base/public/nsFileSpec.h +++ b/base/public/nsFileSpec.h @@ -143,7 +143,7 @@ #include #elif defined(XP_UNIX) || defined (XP_OS2) #include -#elif XP_PC +#elif defined(XP_PC) #include "prio.h" #endif @@ -676,7 +676,7 @@ class NS_BASE nsDirectoryIterator #if defined(XP_UNIX) DIR* mDir; #elif defined(XP_PC) - PRDir* mDir; // XXX why not use PRDir for Unix & Mac, too? + PRDir* mDir; // XXX why not use PRDir for Unix too? #elif defined(XP_MAC) OSErr SetToIndex(); short mIndex; diff --git a/xpcom/io/nsFileSpec.h b/xpcom/io/nsFileSpec.h index 13a099581d63..54495c5e2fdd 100644 --- a/xpcom/io/nsFileSpec.h +++ b/xpcom/io/nsFileSpec.h @@ -143,7 +143,7 @@ #include #elif defined(XP_UNIX) || defined (XP_OS2) #include -#elif XP_PC +#elif defined(XP_PC) #include "prio.h" #endif @@ -676,7 +676,7 @@ class NS_BASE nsDirectoryIterator #if defined(XP_UNIX) DIR* mDir; #elif defined(XP_PC) - PRDir* mDir; // XXX why not use PRDir for Unix & Mac, too? + PRDir* mDir; // XXX why not use PRDir for Unix too? #elif defined(XP_MAC) OSErr SetToIndex(); short mIndex;