svn commit: samba r4900 - in branches/SAMBA_4_0/source/include: .
system
tridge at samba.org
tridge at samba.org
Fri Jan 21 13:29:25 GMT 2005
Author: tridge
Date: 2005-01-21 13:29:24 +0000 (Fri, 21 Jan 2005)
New Revision: 4900
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4900
Log:
build fix for IRIX 6.5
Modified:
branches/SAMBA_4_0/source/include/includes.h
branches/SAMBA_4_0/source/include/system/filesys.h
Changeset:
Modified: branches/SAMBA_4_0/source/include/includes.h
===================================================================
--- branches/SAMBA_4_0/source/include/includes.h 2005-01-21 13:16:33 UTC (rev 4899)
+++ branches/SAMBA_4_0/source/include/includes.h 2005-01-21 13:29:24 UTC (rev 4900)
@@ -321,10 +321,14 @@
#endif
#define discard_const_p(type, ptr) ((type *)discard_const(ptr))
-#endif /* _INCLUDES_H */
+#ifndef UINT16_MAX
+#define UINT16_MAX 65535
+#endif
/*
type safe varient of smb_xmalloc()
*/
#define smb_xmalloc_p(type) (type *)smb_xmalloc(sizeof(type))
+#endif /* _INCLUDES_H */
+
Modified: branches/SAMBA_4_0/source/include/system/filesys.h
===================================================================
--- branches/SAMBA_4_0/source/include/system/filesys.h 2005-01-21 13:16:33 UTC (rev 4899)
+++ branches/SAMBA_4_0/source/include/system/filesys.h 2005-01-21 13:29:24 UTC (rev 4900)
@@ -175,10 +175,6 @@
int rename(const char *zfrom, const char *zto);
#endif
-#ifndef UINT16_MAX
-#define UINT16_MAX 65535
-#endif
-
#ifndef HAVE_FTRUNCATE
int ftruncate(int f,long l);
#endif
More information about the samba-cvs
mailing list