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:
parent
9bd2d050ef
commit
0f0fd26d13
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -37,8 +37,6 @@
|
||||
*/
|
||||
#include "regcustom.h"
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Things that regcustom.h might override.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user