summaryrefslogtreecommitdiff
path: root/source4/SConstruct
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-24 14:58:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:51 -0500
commit70b52b02a77c695d32aa57daaeb5689cd6857eba (patch)
tree4f7bb8f3f645e64b8983e7fd3f439d5c629c975f /source4/SConstruct
parent2a9b65cd17b271ff88fca6bda0bddc6230c2b319 (diff)
downloadsamba-70b52b02a77c695d32aa57daaeb5689cd6857eba.tar.gz
samba-70b52b02a77c695d32aa57daaeb5689cd6857eba.tar.bz2
samba-70b52b02a77c695d32aa57daaeb5689cd6857eba.zip
r10476: Move some more types to libreplace. Fix missing strndup errors
for heimdal (This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
Diffstat (limited to 'source4/SConstruct')
-rw-r--r--source4/SConstruct24
1 files changed, 0 insertions, 24 deletions
diff --git a/source4/SConstruct b/source4/SConstruct
index 66ba8ed38b..7b355222dc 100644
--- a/source4/SConstruct
+++ b/source4/SConstruct
@@ -136,30 +136,6 @@ if hostenv['configure']:
# Pull in GNU extensions
defines['_GNU_SOURCE'] = 1
- needed_types = {
- 'uint_t': 'unsigned int',
- 'int8_t': 'signed char',
- 'uint8_t': 'unsigned char',
- 'int16_t': 'short',
- 'uint16_t': 'unsigned short',
- 'int32_t': 'long',
- 'uint32_t': 'unsigned long',
- 'int64_t': 'long long',
- 'uint64_t': 'unsigned long long'
- }
-
- type_headers = """
-#include <stdint.h>
-#include <sys/types.h>
-"""
- for t in needed_types:
- if not conf.CheckType(t,type_headers):
- defines[t] = needed_types[t]
-
- for t in ['u_int32_t', 'u_int16_t', 'u_int8_t']:
- if conf.CheckType(t, type_headers):
- defines['HAVE_%s' % string.upper(t)] = 1
-
if conf.CheckType('comparison_fn_t', '#include <stdlib.h>'):
defines['HAVE_COMPARISON_FN_T'] = 1