Project

Profile

Help

Revision 0c35adb7

Added by O'Neil Delpratt over 5 years ago

Saxon/C workaround for boolean typeof

View differences:

latest9.6/hec/Saxon.C.API/SaxonCGlue.h
33 33

  
34 34
#ifndef __cplusplus
35 35
#ifndef _BOOL
36
typedef unsigned char bool;
37
static const bool false = 0;
38
static const bool true = 1;
36
typedef unsigned char booli;
37
static const booli __false = 0;
38
static const booli __true = 1;
39 39
#endif
40 40
#endif
41 41

  
42 42
#ifndef __cplusplus 
43 43
	#if defined(LICENSE)
44
		#define license true;
44
		#define license __true;
45 45
	#else
46
		#define license false
46
		#define license __false
47 47
	#endif
48 48
#endif
49 49

  

Also available in: Unified diff