diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:17:30 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:17:30 +0000 |
| commit | c4a8cc7e2f3890b8d82051c89748bea80350e8d4 (patch) | |
| tree | a08d706405cf90d1b319885e56a07285315e70c7 /src/modules | |
| parent | 88701c226e2e13cd9e339eab46e65dced75497b2 (diff) | |
Fixed issue with the MSVC++ build of Anope crashing on a DLL throwing an exception, thanks to w00t for pointing out the overloaded new/delete operators from InspIRCd.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1838 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt index af6fcda20..34924e362 100644 --- a/src/modules/CMakeLists.txt +++ b/src/modules/CMakeLists.txt @@ -50,6 +50,9 @@ foreach(SRC ${MODULES_SRCS}) if(HEADERS) set_source_files_properties(${SRC} PROPERTIES OBJECT_DEPENDS "${HEADERS}") endif(HEADERS) + if(WIN32 AND MSVC) + set(SRC ${SRC} ${Anope_SOURCE_DIR}/src/win32_memory.cpp) + endif(WIN32 AND MSVC) add_library(${SO} MODULE ${SRC}) add_dependencies(${SO} ${PROGRAM_NAME}) #set_target_properties(${SO} PROPERTIES PREFIX "" SUFFIX "" COMPILE_FLAGS ${CXXFLAGS}) |
