diff options
author | Adam <Adam@anope.org> | 2010-10-26 20:14:39 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-26 20:14:39 -0400 |
commit | 09160d1289d9359c090ce2f6cf47335dbf51223c (patch) | |
tree | c0f1abbde6e8b097a98443f0e7ce1d8325bee955 /include | |
parent | 1d931401cd00848b7ba10c13b0e2771935395aa6 (diff) |
Fixed Windows build with gettext
Diffstat (limited to 'include')
-rw-r--r-- | include/services.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/services.h b/include/services.h index 55993cd1f..50ea809a6 100644 --- a/include/services.h +++ b/include/services.h @@ -77,6 +77,8 @@ /* We have our own inet_pton and inet_ntop (Windows doesn't have its own) */ # define inet_pton inet_pton_ # define inet_ntop inet_ntop_ +# define setenv(x, y, z) SetEnvironmentVariable(x, y) +# define unsetenv(x) SetEnvironmentVariable(x, NULL) # define MARK_DEPRECATED extern CoreExport int inet_pton(int af, const char *src, void *dst); |