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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user