diff -dcrpN pgsql.orig/config/c-compiler.m4 pgsql/config/c-compiler.m4
*** pgsql.orig/config/c-compiler.m4	2008-02-18 13:49:56.000000000 +0100
--- pgsql/config/c-compiler.m4	2008-03-11 11:00:30.000000000 +0100
*************** AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_
*** 62,68 ****
  
  Ac_define=$Ac_cachevar
  if test x"$Ac_cachevar" = xyes ; then
!   AC_DEFINE(Ac_define,, [Define to 1 if `]$1[' works and is 64 bits.])
  fi
  undefine([Ac_define])dnl
  undefine([Ac_cachevar])dnl
--- 62,68 ----
  
  Ac_define=$Ac_cachevar
  if test x"$Ac_cachevar" = xyes ; then
!   AC_DEFINE(Ac_define, 1, [Define to 1 if `]$1[' works and is 64 bits.])
  fi
  undefine([Ac_define])dnl
  undefine([Ac_cachevar])dnl
diff -dcrpN pgsql.orig/configure pgsql/configure
*** pgsql.orig/configure	2008-03-02 13:44:42.000000000 +0100
--- pgsql/configure	2008-03-11 11:01:34.000000000 +0100
*************** HAVE_LONG_INT_64=$pgac_cv_type_long_int_
*** 19608,19614 ****
  if test x"$pgac_cv_type_long_int_64" = xyes ; then
  
  cat >>confdefs.h <<\_ACEOF
! #define HAVE_LONG_INT_64
  _ACEOF
  
  fi
--- 19608,19614 ----
  if test x"$pgac_cv_type_long_int_64" = xyes ; then
  
  cat >>confdefs.h <<\_ACEOF
! #define HAVE_LONG_INT_64 1
  _ACEOF
  
  fi
*************** HAVE_LONG_LONG_INT_64=$pgac_cv_type_long
*** 19741,19747 ****
  if test x"$pgac_cv_type_long_long_int_64" = xyes ; then
  
  cat >>confdefs.h <<\_ACEOF
! #define HAVE_LONG_LONG_INT_64
  _ACEOF
  
  fi
--- 19741,19747 ----
  if test x"$pgac_cv_type_long_long_int_64" = xyes ; then
  
  cat >>confdefs.h <<\_ACEOF
! #define HAVE_LONG_LONG_INT_64 1
  _ACEOF
  
  fi
