Compiler warning refactoring.... (cont'd)

git-svn-id: file:///home/jj/hercules.svn/trunk@7764 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
Fish (David B Trout)
2011-09-20 11:41:39 +00:00
parent 3f87d771c4
commit 18e61e8726
2 changed files with 2 additions and 9 deletions

View File

@@ -289,15 +289,6 @@
#define STRINGMAC(x) #x
#define MSTRING(x) STRINGMAC(x)
/*-------------------------------------------------------------------*/
/* Use these to suppress unreferenced variable warnings... */
/*-------------------------------------------------------------------*/
#define UNREFERENCED(x) while(0 && x)
#define UNREFERENCED_370(x) while(0 && x)
#define UNREFERENCED_390(x) while(0 && x)
#define UNREFERENCED_900(x) while(0 && x)
/*-------------------------------------------------------------------*/
/* Macro for command parsing with variable length */
/*-------------------------------------------------------------------*/

View File

@@ -31,6 +31,8 @@
/* Required headers -- These we ALWAYS need to have... */
#include "ccnowarn.h" /* suppress compiler warning support */
#ifdef _MSVC_
// The following ensures certain functions get defined...
// (such as TryEnterCriticalSection and InitializeCriticalSectionAndSpinCount)