mirror of
https://github.com/anope/anope.git
synced 2026-06-25 12:16:39 +02:00
Fixed Windows build
This commit is contained in:
+5
-2
@@ -11,7 +11,10 @@
|
||||
|
||||
#include "modules.h"
|
||||
#include "version.h"
|
||||
#include <libintl.h>
|
||||
|
||||
#if GETTEXT_FOUND
|
||||
# include <libintl.h>
|
||||
#endif
|
||||
|
||||
message_map MessageMap;
|
||||
std::list<Module *> Modules;
|
||||
@@ -261,7 +264,7 @@ void ModuleRunTimeDirCleanUp()
|
||||
{
|
||||
Anope::string filebuf = dirbuf + "/" + FileData.cFileName;
|
||||
if (!DeleteFile(filebuf.c_str()))
|
||||
Log(LOG_DEBUG) << "Error deleting file " << filebuf << " - GetLastError() reports " << LastError();
|
||||
Log(LOG_DEBUG) << "Error deleting file " << filebuf << " - GetLastError() reports " << Anope::LastError();
|
||||
}
|
||||
if (!FindNextFile(hList, &FileData))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user