mirror of
https://github.com/anope/anope.git
synced 2026-07-05 23:33:12 +02:00
Remove some unused Windows code.
This commit is contained in:
@@ -68,7 +68,6 @@ extern CoreExport USHORT WindowsGetLanguage(const Anope::string &lang);
|
||||
extern int setenv(const char *name, const char *value, int overwrite);
|
||||
extern int unsetenv(const char *name);
|
||||
extern int mkstemp(char *input);
|
||||
extern void getcwd(char *buf, size_t sz);
|
||||
|
||||
#endif // _WIN32
|
||||
#endif // WINDOWS_H
|
||||
|
||||
@@ -84,9 +84,4 @@ int mkstemp(char *input)
|
||||
return fd;
|
||||
}
|
||||
|
||||
void getcwd(char *buf, size_t sz)
|
||||
{
|
||||
GetCurrentDirectory(sz, buf);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user