From b083bc0b660671c1dd393b4d94989d5e159fabab Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 21 May 2007 18:26:15 +0000 Subject: It seems that making inspircd.h the first include in .cpp files eliminates the warning C4996, as the defines to prevent it are set before any includes that cause it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7094 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 2 +- src/snomasks.cpp | 1 + src/socket.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/configreader.cpp b/src/configreader.cpp index 8e785a1e4..36cafd111 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -11,10 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include "configreader.h" #include #include -#include "inspircd.h" #include "xline.h" #include "exitcodes.h" #include "commands/cmd_whowas.h" diff --git a/src/snomasks.cpp b/src/snomasks.cpp index 200acb236..028004f86 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -11,6 +11,7 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include #include "configreader.h" #include "users.h" diff --git a/src/socket.cpp b/src/socket.cpp index 399b71cfa..411465ad6 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -11,10 +11,10 @@ * --------------------------------------------------- */ +#include "inspircd.h" #include #include "configreader.h" #include "socket.h" -#include "inspircd.h" #include "socketengine.h" #include "wildcard.h" -- cgit v1.2.3