fix potential scl_cf.h problem

This commit is contained in:
Mark Pictor 2012-04-06 16:35:33 -04:00
parent 521f4427ea
commit 6c76d7b184
2 changed files with 2 additions and 3 deletions

View file

@ -151,9 +151,6 @@ IF(LEX_EXECUTABLE)
SET(FILE_RUN_DEFINITIONS "-DYYTEXT_POINTER=1")
CHECK_C_FILE_RUNS(${CMAKE_CURRENT_SOURCE_DIR}/cmake/test_srcs/sys_wait_test.c YYTEXT_POINTER)
SET(FILE_RUN_DEFINITIONS)
IF(CONFIG_H_FILE)
CONFIG_H_APPEND(SCL "#cmakedefine YYTEXT_POINTER 1\n")
ENDIF(CONFIG_H_FILE)
ENDIF(LEX_EXECUTABLE)

View file

@ -13,6 +13,8 @@
#cmakedefine HAVE_PROCESS_H 1
#cmakedefine HAVE_IO_H 1
#cmakedefine YYTEXT_POINTER 1
#cmakedefine HAVE_ABS 1
#cmakedefine HAVE_MEMCPY 1
#cmakedefine HAVE_MEMMOVE 1