~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/misc.m4

Replaced long long with int64_t.

Show diffs side-by-side

added added

removed removed

Lines of Context:
474
474
 
475
475
AC_DEFUN([DRIZZLE_CHECK_LONGLONG_TO_FLOAT],
476
476
[
477
 
AC_MSG_CHECKING(if conversion of longlong to float works)
 
477
AC_MSG_CHECKING(if conversion of int64_t to float works)
478
478
AC_CACHE_VAL(ac_cv_conv_longlong_to_float,
479
479
[AC_TRY_RUN([#include <stdio.h>
480
 
typedef long long longlong;
 
480
typedef int64_t int64_t;
481
481
int main()
482
482
{
483
 
  longlong ll=1;
 
483
  int64_t ll=1;
484
484
  float f;
485
485
  FILE *file=fopen("conftestval", "w");
486
486
  f = (float) ll;