summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-19 12:33:32 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-19 12:33:32 +0000
commit26488953e72c33f95419585e400312b2ae2e99db (patch)
treee8b0fbbcbef03a0d3a5575cfec632cba4a238040 /source3
parent251ea1e6776401005e302addd56a689c01924426 (diff)
downloadsamba-26488953e72c33f95419585e400312b2ae2e99db.tar.gz
samba-26488953e72c33f95419585e400312b2ae2e99db.tar.bz2
samba-26488953e72c33f95419585e400312b2ae2e99db.zip
Merge from HEAD: We don't need this any more, setenv() is in replace.c now
(This used to be commit cd6ad1f13b481ab22d98993db3fa80ec43dc1c8c)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h
index e8bcf76bd3..164b7ffda7 100644
--- a/source3/nsswitch/winbindd.h
+++ b/source3/nsswitch/winbindd.h
@@ -205,18 +205,4 @@ typedef struct {
#define DOM_SEQUENCE_NONE ((uint32)-1)
-/* SETENV */
-#if HAVE_SETENV
-#define SETENV(name, value, overwrite) setenv(name,value,overwrite)
-#elif HAVE_PUTENV
-#define SETENV(name, value, overwrite) \
-{ \
- fstring envvar; \
- slprintf(envvar, sizeof(fstring), "%s=%s", name, value); \
- putenv(envvar); \
-}
-#else
-#define SETENV(name, value, overwrite) ;
-#endif
-
#endif /* _WINBINDD_H */