2007-03-27 17:47:10 +00:00
|
|
|
/*
|
|
|
|
* CiderPress
|
|
|
|
* Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved.
|
|
|
|
* See the file LICENSE for distribution terms.
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* Standard stuff.
|
|
|
|
*/
|
|
|
|
#ifndef __FADDEN_STD__
|
|
|
|
#define __FADDEN_STD__
|
|
|
|
|
|
|
|
#define NELEM(x) ((int) (sizeof(x) / sizeof(x[0])))
|
|
|
|
|
|
|
|
#define nil NULL
|
|
|
|
|
|
|
|
// Windows equivalents
|
2014-11-04 00:26:53 +00:00
|
|
|
#define strcasecmp stricmp
|
|
|
|
#define strncasecmp strnicmp
|
2007-03-27 17:47:10 +00:00
|
|
|
|
|
|
|
#endif /*__FADDEN_STD__*/
|