Don't compile gnc_[set/put]env unless we need them.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5982 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-11-23 22:00:36 +00:00
parent b56f2fffbb
commit 64940e71e9
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@
* see header for info.
\********************************************************************/
#ifndef HAVE_SETENV
int
gnc_setenv(const char *name, const char *value, int overwrite)
{
@ -76,3 +78,4 @@ gnc_unsetenv(const char *name)
return result;
}
#endif

View File

@ -51,5 +51,4 @@ int gnc_unsetenv(const char *name);
#error "Must have setenv or putenv."
#endif
#endif