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:
@@ -972,6 +972,13 @@ struct arc *con;
|
|||||||
^ #def COMPATIBLE 3 // compatible but not satisfied yet
|
^ #def COMPATIBLE 3 // compatible but not satisfied yet
|
||||||
^ static int combine(struct arc *, struct arc *);
|
^ 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
|
static int
|
||||||
combine(con, a)
|
combine(con, a)
|
||||||
struct arc *con;
|
struct arc *con;
|
||||||
|
@@ -257,6 +257,12 @@ struct dfa *d;
|
|||||||
^ static struct dfa *newdfa(struct vars *, struct cnfa *,
|
^ static struct dfa *newdfa(struct vars *, struct cnfa *,
|
||||||
^ struct colormap *, struct smalldfa *);
|
^ 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 *
|
static struct dfa *
|
||||||
newdfa(v, cnfa, cm, small)
|
newdfa(v, cnfa, cm, small)
|
||||||
struct vars *v;
|
struct vars *v;
|
||||||
|
@@ -37,8 +37,6 @@
|
|||||||
*/
|
*/
|
||||||
#include "regcustom.h"
|
#include "regcustom.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Things that regcustom.h might override.
|
* Things that regcustom.h might override.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user