jconfig.h.patch

Junichi Ido, 2010-01-15 11:50 pm

Download (703 Bytes)

 
opencv/3rdparty/include/jconfig.h (working copy)
16 16
#undef INCOMPLETE_TYPES_BROKEN
17 17

  
18 18
/* Define "boolean" as unsigned char, not int, per Windows custom */
19
#ifndef __RPCNDR_H__		/* don't conflict if rpcndr.h already read */
19
#ifdef _WIN32 
20
# ifndef __RPCNDR_H__/* don't conflict if rpcndr.h already read */
20 21
typedef unsigned char boolean;
21 22
#endif
22
#define HAVE_BOOLEAN		/* prevent jmorecfg.h from redefining it */
23
#else
24
typedef int boolean;
25
#endif
26
#define HAVE_BOOLEAN/* prevent jmorecfg.h from redefining it */