Fix for missing __CHAR_BIT__ under MacOS X

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2004-03-30 16:38:19 +00:00
parent 9bd2d050ef
commit 0f0fd26d13
3 changed files with 13 additions and 2 deletions

View File

@ -972,6 +972,13 @@ struct arc *con;
^ #def COMPATIBLE 3 // compatible but not satisfied yet
^ static int combine(struct arc *, struct arc *);
*/
/* FIXME Required for CW 8 on Mac since it's not in limits.h */
#ifndef __CHAR_BIT__
#define __CHAR_BIT__ 8
#endif
static int
combine(con, a)
struct arc *con;

View File

@ -257,6 +257,12 @@ struct dfa *d;
^ static struct dfa *newdfa(struct vars *, struct cnfa *,
^ struct colormap *, struct smalldfa *);
*/
/* FIXME Required for CW 8 on Mac since it's not in limits.h */
#ifndef __CHAR_BIT__
#define __CHAR_BIT__ 8
#endif
static struct dfa *
newdfa(v, cnfa, cm, small)
struct vars *v;

View File

@ -37,8 +37,6 @@
*/
#include "regcustom.h"
/*
* Things that regcustom.h might override.
*/