1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r4900: build fix for IRIX 6.5

(This used to be commit f6ff9e6f39efdb312384ebb651b8e0f01e9e8df1)
This commit is contained in:
Andrew Tridgell 2005-01-21 13:29:24 +00:00 committed by Gerald (Jerry) Carter
parent 913006fa2e
commit 51f3a6a5e8
2 changed files with 5 additions and 5 deletions

View File

@ -321,10 +321,14 @@ int asprintf(char **,const char *, ...) PRINTF_ATTRIBUTE(2,3);
#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 */

View File

@ -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