won't complain about a conflict for this definition between
<rpcsvc/nis.h> and <sys/acl.h>.
+2005-03-21 Erez Zadok <ezk@cs.sunysb.edu>
+
+ * include/am_defs.h: undefine "GROUP" so Solaris 10 with gcc-2.96
+ won't complain about a conflict for this definition between
+ <rpcsvc/nis.h> and <sys/acl.h>.
+
2005-03-20 Erez Zadok <ezk@cs.sunysb.edu>
* amd/readdir.c (amfs_readdir_browsable): use %p, not %lx.
* SUCH DAMAGE.
*
*
- * $Id: am_defs.h,v 1.52 2005/01/13 21:24:12 ezk Exp $
+ * $Id: am_defs.h,v 1.53 2005/03/21 17:14:27 ezk Exp $
*
*/
* in many other header files. <rpcsvc/nis.h> uses GROUP_OBJ inside enum
* zotypes. So if you're unlucky enough to include both headers, you get a
* compile error because the two symbols conflict.
+ * A similar conflict arises with gcc-2.96 and the definition of "GROUP".
*
* Temp hack: undefine acl.h's GROUP_OBJ because it's not needed for
* am-utils.
# ifdef GROUP_OBJ
# undef GROUP_OBJ
# endif /* GROUP_OBJ */
+# ifdef GROUP
+# undef GROUP
+# endif /* GROUP */
# include <rpcsvc/nis.h>
#endif /* HAVE_RPCSVC_NIS_H */