Branch: Tag:

2009-05-27

2009-05-27 17:48:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bumped the WIN32 APIs from 5.0 to 6.0.

Rev: src/configure.in:1.1079
Rev: src/global.h:1.117

1: - AC_REVISION("$Id: configure.in,v 1.1078 2009/04/20 17:32:12 jonasw Exp $") + AC_REVISION("$Id: configure.in,v 1.1079 2009/05/27 17:48:29 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
322:    ICC=yes   fi    + # This segment is disabled for now. + if :; then :; else + AC_MSG_CHECKING([for option to enter C99-mode]) + AC_CACHE_VAL(pike_cv_flag_c99, [ +  ORIG_CPPFLAGS="$CPPFLAGS" +  for pike_cv_flag_c99 in '' '-std=gnu99' '-std=gnu9x' '-xc99' no; do +  if test "x$pike_cv_flag_c99" = "xno"; then break; fi +  # C99 is supported only in XPG6/POSIX.1-2001. +  pike_cv_flag_c99="$pike_cv_flag_c99 -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -DPOSIX_C_SOURCE=200112" +  CPPFLAGS="$ORIG_CPPFLAGS $pike_cv_flag_c99" +  AC_EGREP_CPP([oui], [ + /* Include THE standard header file to check for C99 compliance. */ + #include <stdio.h> + #if __STDC_VERSION__ - 0 >= 199901 +  oui + #endif +  ], [ +  # Ok. +  break; +  ]) +  done +  ORIG_CPPFLAGS="$CPPFLAGS" + ]) + if test "x$pike_cv_flag_c99" = "xno"; then +  AC_MSG_RESULT(not supported) +  AC_MSG_CHECKING([for level of XPG support]) +  AC_CACHE_VAL(pike_cv_flag_xpg, [ +  # FIXME: How determine what the max level of XPG support is? +  :; +  ]) +  AC_MSG_RESULT([$pike_cv_flag_xpg]) + else +  AC_MSG_RESULT([${pike_cv_flag_c99:-(none)}]) +  CPPFLAGS="$CPPFLAGS $pike_cv_flag_c99" + fi + fi +    #############################################################################      if test "x$enable_binary" != "xno"; then
2414:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1078 2009/04/20 17:32:12 jonasw Exp $. + # Automatically generated by $Id: configure.in,v 1.1079 2009/05/27 17:48:29 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2452:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1078 2009/04/20 17:32:12 jonasw Exp $. + # Automatically generated by $Id: configure.in,v 1.1079 2009/05/27 17:48:29 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2461:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1078 2009/04/20 17:32:12 jonasw Exp $. + # Automatically generated by $Id: configure.in,v 1.1079 2009/05/27 17:48:29 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
3235:   #ifndef WIN32   #define WIN32 100 /* WinNT 1.0 */   #endif - #if !defined(_WIN32_WINDOWS) || (_WIN32_WINDOWS < 0x500) + #if !defined(_WIN32_WINDOWS) || (_WIN32_WINDOWS < 0x600)   #undef _WIN32_WINDOWS - #define _WIN32_WINDOWS 0x0500 + #define _WIN32_WINDOWS 0x0600   #endif - #if !defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x500) + #if !defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x600)   #undef _WIN32_WINNT - #define _WIN32_WINNT 0x0500 + #define _WIN32_WINNT 0x0600   #endif -  + #if !defined(NTDDI_VERSION) || (NTDDI_VERSION < 0x06000000) + #undef NTDDI_VERSION + #define NTDDI_VERSION 0x06000000 + #endif   #endif /* __NT__ */   #ifdef __amigaos__   #define __USE_NETINET_IN_H