summaryrefslogtreecommitdiff
path: root/src/setenv.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2009-09-01 14:25:10 +0000
committerMarcus Brinkmann <mb@g10code.com>2009-09-01 14:25:10 +0000
commit00fc3888e131112e09afdca58a9a33d870979ba4 (patch)
treeab47835700e079e0f415204081bf97e3100605e2 /src/setenv.c
parentbca49a41bfb5d3f1e8ce7412d15a865cfc482516 (diff)
downloadlibassuan-00fc3888e131112e09afdca58a9a33d870979ba4.tar.gz
2009-09-01 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Set BUILD_REVISION and update calculation of data for build info. Update libtool macros. Set NETLIBS for W32 targets. src/ 2009-09-01 Marcus Brinkmann <marcus@g10code.de> * setenv.c: Do not include "assuan-defs.h", instead redefine setenv, unsetenv, clearenv in place. * assuan-socket-server.c: Use _assuan_free instead of xfree. * assuan-pipe-connect.c: Fix syntax error. * assuan-defs.h: Remove some duplicated W32 stuff. * Makefile.am (libassuan_la_LIBADD, libassuan_pth_la_LIBADD): Add @NETLIBS@. * versioninfo.rc.in (FILEVERSION): Set to @BUILD_FILEVERSION@. ("FileDescription", "FileVersion", "InternalName") ("LegalCopyright", "OriginalFilename", "ProductName"): Replace c&p garbage. * libassuan.def: Remove assuan_get_peercred.
Diffstat (limited to 'src/setenv.c')
-rw-r--r--src/setenv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/setenv.c b/src/setenv.c
index ff07d7b..debaa29 100644
--- a/src/setenv.c
+++ b/src/setenv.c
@@ -20,7 +20,10 @@
# include <config.h>
#endif
-#include "assuan-defs.h"
+#define setenv _assuan_setenv
+#define unsetenv _assuan_unsetenv
+#define clearenv _assuan_clearenv
+
#define __builtin_expect(cond,val) (cond)