1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 22:33:12 +02:00

Fixed Windows again

This commit is contained in:
Adam
2010-10-11 19:21:59 -04:00
parent d7aa5f6a3a
commit afb55a1842
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ void ThreadEngine::Start(Thread *thread)
if (!thread->Handle)
{
delete thread;
throw CoreException(Anope::string("Unable to create thread: ") + LastError());
throw CoreException(Anope::string("Unable to create thread: ") + Anope::LastError());
}
}
+2 -1
View File
@@ -15,8 +15,9 @@ foreach(SRC ${TOOLS_SRCS})
calculate_depends(${SRC} SKIP)
# Only continue if this file isn't skipped
if(NOT SKIP)
# For anoptsmtp, we also want hashcomp.cpp included, so we force it into the sources
# For anoptsmtp, we also want base.cpp and hashcomp.cpp included, so we force it into the sources
if(SRC STREQUAL anopesmtp.cpp)
set(SRC ${SRC} ${Anope_SOURCE_DIR}/src/base.cpp)
set(SRC ${SRC} ${Anope_SOURCE_DIR}/src/hashcomp.cpp)
endif(SRC STREQUAL anopesmtp.cpp)
# Generate the executable and set its linker flags, also set it to depend on the main Anope executable to be built beforehand