CMakeLists.txt
changeset 11480 e7a79b236dc0
parent 11429 424d7476f72d
child 11487 bf55fefff23d
     1.1 --- a/CMakeLists.txt	Sat Sep 09 08:34:46 2017 -0700
     1.2 +++ b/CMakeLists.txt	Sat Sep 09 08:36:37 2017 -0700
     1.3 @@ -622,7 +622,7 @@
     1.4  if(LIBC)
     1.5    if(WINDOWS AND NOT MINGW)
     1.6      set(HAVE_LIBC TRUE)
     1.7 -    foreach(_HEADER stdio.h string.h wchar.h ctype.h math.h)
     1.8 +    foreach(_HEADER stdio.h string.h wchar.h ctype.h math.h limits.h)
     1.9        string(TOUPPER "HAVE_${_HEADER}" _UPPER)
    1.10        string(REPLACE "." "_" _HAVE_H ${_UPPER})
    1.11        set(${_HAVE_H} 1)
    1.12 @@ -648,7 +648,7 @@
    1.13      set(HAVE_LIBC TRUE)
    1.14      check_include_file(sys/types.h HAVE_SYS_TYPES_H)
    1.15      foreach(_HEADER
    1.16 -            stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h
    1.17 +            stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h limits.h
    1.18              strings.h wchar.h inttypes.h stdint.h ctype.h math.h iconv.h signal.h)
    1.19        string(TOUPPER "HAVE_${_HEADER}" _UPPER)
    1.20        string(REPLACE "." "_" _HAVE_H ${_UPPER})