From 18ff73f52b97764a65764209511ed80dabf6f8bb Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 22 May 2007 20:55:43 +0000 Subject: [PATCH] Bloody 'safe stl' warnings. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7120 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/hashcomp.h | 3 --- src/modules/m_censor.cpp | 3 +++ src/modules/m_chanfilter.cpp | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/include/hashcomp.h b/include/hashcomp.h index 32abf5778..aa3504994 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -18,9 +18,6 @@ #include "socket.h" #include "hash_map.h" -#define _CRT_SECURE_NO_DEPRECATE -#define _SCL_SECURE_NO_DEPRECATE - /******************************************************* * This file contains classes and templates that deal * with the comparison and hashing of 'irc strings'. diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp index fc2c55a96..37c23566d 100644 --- a/src/modules/m_censor.cpp +++ b/src/modules/m_censor.cpp @@ -11,6 +11,9 @@ * --------------------------------------------------- */ +#define _CRT_SECURE_NO_DEPRECATE +#define _SCL_SECURE_NO_DEPRECATE + #include "inspircd.h" #include "users.h" #include "channels.h" diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp index 901494b95..f7cb81489 100644 --- a/src/modules/m_chanfilter.cpp +++ b/src/modules/m_chanfilter.cpp @@ -11,6 +11,9 @@ * --------------------------------------------------- */ +#define _CRT_SECURE_NO_DEPRECATE +#define _SCL_SECURE_NO_DEPRECATE + #include "inspircd.h" #include "users.h" #include "channels.h" -- 2.39.5