summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-04 01:17:59 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-04 01:17:59 +0000
commiteaa02c7e0d5f69bf97fe8926e2663b66971299c1 (patch)
treeecd3bee2884f11424aa61381741850a2c228068c /source4
parent2bd7a626a6b15ad6d0f49f581350841ef87fb523 (diff)
downloadsamba-eaa02c7e0d5f69bf97fe8926e2663b66971299c1.tar.gz
samba-eaa02c7e0d5f69bf97fe8926e2663b66971299c1.tar.bz2
samba-eaa02c7e0d5f69bf97fe8926e2663b66971299c1.zip
some OSes already have a uint_t
(This used to be commit d7b6aa1e2ec1dc475e1bd5dce1c537720bc65eac)
Diffstat (limited to 'source4')
-rw-r--r--source4/configure.in1
-rw-r--r--source4/include/smb.h7
2 files changed, 1 insertions, 7 deletions
diff --git a/source4/configure.in b/source4/configure.in
index 3f7bfca868..3430d1dc0a 100644
--- a/source4/configure.in
+++ b/source4/configure.in
@@ -518,6 +518,7 @@ AC_CHECK_TYPE(loff_t,off_t)
AC_CHECK_TYPE(offset_t,loff_t)
AC_CHECK_TYPE(ssize_t, int)
AC_CHECK_TYPE(wchar_t, unsigned short)
+AC_CHECK_TYPE(uint_t, unsigned int)
############################################
# we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code
diff --git a/source4/include/smb.h b/source4/include/smb.h
index b8dd030c63..a58556a306 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -226,13 +226,6 @@ enum socket_error {SOCKET_READ_TIMEOUT,
#include "doserr.h"
-/* this is a trade with jeremy - I agreed to use uint_t instead of
- * bare unsigned if he agreed to not use non-braced if statements
- * (13/4/2003 - train to gottenginen) */
-#ifndef IRIX
-typedef unsigned int uint_t;
-#endif
-
/*
* SMB UCS2 (16-bit unicode) internal type.
*/