mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
b56f2fffbb
commit
64940e71e9
@ -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
|
||||
|
@ -51,5 +51,4 @@ int gnc_unsetenv(const char *name);
|
||||
#error "Must have setenv or putenv."
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user