diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h index 6483d4f..acbccf9 100644 --- a/common/compat.h +++ b/common/compat.h @@ -165,6 +165,10 @@ p11_mmap * p11_mmap_open (const char *path, void p11_mmap_close (p11_mmap *map); +#ifndef HAVE_SETENV +#define setenv(n, v, z) _putenv_s(n, v) +#endif /* HAVE_SETENV */ + #endif /* OS_WIN32 */ /* ---------------------------------------------------------------------------- |