Make master build on Windows

Add strtoll()/strtoull() to lib/roken
    Add stdint.h to lib/roken (Windows only)
    Add logic to detect whether to use lib/roken's stdint.h based on
        Visual Studio version
    Add include of stdint.h in generated ASN.1 code
    Export missing symbols for 64-bit integers in lib/asn1
    Export missing symbols for FAST
    Add missing sources to kdc/NTMakefile
    Fix issue in kuserok
    Fix bsearch issues
This commit is contained in:
Nicolas Williams
2012-01-11 15:52:41 -06:00
parent 10bca3892d
commit 6dd66df594
23 changed files with 390 additions and 109 deletions

View File

@@ -370,6 +370,8 @@ AC_BROKEN([ \
strsep \
strsep_copy \
strtok_r \
strtoll \
strtoull \
strupr \
swab \
tsearch \
@@ -391,6 +393,14 @@ AM_CONDITIONAL(have_fnmatch_h,
AC_FOREACH([rk_func], [strndup strsep strtok_r],
[AC_NEED_PROTO([#include <string.h>], rk_func)])
AC_CHECK_FUNC([strtoll],
[AC_DEFINE_UNQUOTED(HAVE_STRTOLL, 1,
[Define if you have the function strtoll.])])
AC_CHECK_FUNC([strtoull],
[AC_DEFINE_UNQUOTED(HAVE_STRTOULL, 1,
[Define if you have the function strtoull.])])
AC_FOREACH([rk_func], [strsvis strsvisx strunvis strvis strvisx svis unvis vis],
[AC_NEED_PROTO([#ifdef HAVE_VIS_H
#include <vis.h>