COMP: Added missing include for malloc on QNX.
This commit is contained in:
parent
3ef750a42c
commit
0bd4649fe6
|
@ -138,6 +138,11 @@ Modify cmCommandArgumentParser.cxx:
|
||||||
cmCommandArgumentError(yyscanner, x)
|
cmCommandArgumentError(yyscanner, x)
|
||||||
#define yyGetParser (cmCommandArgument_yyget_extra(yyscanner))
|
#define yyGetParser (cmCommandArgument_yyget_extra(yyscanner))
|
||||||
|
|
||||||
|
/* Make sure malloc and free are available on QNX. */
|
||||||
|
#ifdef __QNX__
|
||||||
|
# include <malloc.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Make sure the parser uses standard memory allocation. The default
|
/* Make sure the parser uses standard memory allocation. The default
|
||||||
generated parser malloc/free declarations do not work on all
|
generated parser malloc/free declarations do not work on all
|
||||||
platforms. */
|
platforms. */
|
||||||
|
|
|
@ -38,6 +38,11 @@ Modify cmCommandArgumentParser.cxx:
|
||||||
cmCommandArgumentError(yyscanner, x)
|
cmCommandArgumentError(yyscanner, x)
|
||||||
#define yyGetParser (cmCommandArgument_yyget_extra(yyscanner))
|
#define yyGetParser (cmCommandArgument_yyget_extra(yyscanner))
|
||||||
|
|
||||||
|
/* Make sure malloc and free are available on QNX. */
|
||||||
|
#ifdef __QNX__
|
||||||
|
# include <malloc.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Make sure the parser uses standard memory allocation. The default
|
/* Make sure the parser uses standard memory allocation. The default
|
||||||
generated parser malloc/free declarations do not work on all
|
generated parser malloc/free declarations do not work on all
|
||||||
platforms. */
|
platforms. */
|
||||||
|
|
Loading…
Reference in New Issue