mirror of
https://github.com/fadden/ciderpress.git
synced 2024-12-24 17:29:22 +00:00
f8017fdee3
- Drop strcasecmp / strncasecmp defines; just use the VC++ version. - Fix LOG_WARNING vs. LOG_WARN. - Fix crash when NiftyList data file not available.
23 lines
555 B
C
23 lines
555 B
C
/*
|
|
* CiderPress
|
|
* Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved.
|
|
* See the file LICENSE for distribution terms.
|
|
*/
|
|
/*
|
|
* Standard stuff.
|
|
*/
|
|
#ifndef UTIL_FADDENSTD_H
|
|
#define UTIL_FADDENSTD_H
|
|
|
|
#define NELEM(x) (sizeof(x) / sizeof(x[0]))
|
|
|
|
/*
|
|
* Declare copy construction and operator=. Put this in a private section
|
|
* of a class declaration to prevent objects from being copied.
|
|
*/
|
|
#define DECLARE_COPY_AND_OPEQ(_TYPE) \
|
|
_TYPE(const _TYPE&); \
|
|
_TYPE& operator= (const _TYPE&);
|
|
|
|
#endif /*UTIL_FADDENSTD_H*/
|