Changeset b3950931 in rtems


Ignore:
Timestamp:
Apr 13, 2010, 4:23:26 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
d526708e
Parents:
80e2405d
Message:

Add RTEMS_CHECK_GCC_PRINTF_LD_OFF_T, RTEMS_CHECK_GCC_PRINTF_LLD_OFF_T.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/aclocal/gcc-sanity.m4

    r80e2405d rb3950931  
    8080])
    8181
     82AC_DEFUN([RTEMS_CHECK_GCC_PRINTF_LD_OFF_T],[
     83  _RTEMS_GCC_WARNING(
     84    [if printf("%ld", off_t) works],
     85    [rtems_cv_PRINTF_LD_OFF_T],[
     86       #include <sys/types.h>
     87       #include <stdio.h>
     88    ],[
     89      off_t off = 1;
     90      printf("%ld\n", off);
     91    ])
     92])
     93
     94AC_DEFUN([RTEMS_CHECK_GCC_PRINTF_LLD_OFF_T],[
     95  _RTEMS_GCC_WARNING(
     96    [if printf("%lld", off_t) works],
     97    [rtems_cv_PRINTF_LLD_OFF_T],[
     98       #include <sys/types.h>
     99       #include <stdio.h>
     100    ],[
     101      off_t off = 1;
     102      printf("%lld\n", off);
     103    ])
     104])
     105
    82106AC_DEFUN([RTEMS_CHECK_GCC_SANITY],[
    83107RTEMS_CHECK_GCC_PRIxPTR
     
    86110RTEMS_CHECK_GCC_PRINTF_ZU_SIZE_T
    87111RTEMS_CHECK_GCC_PRINTF_ZD_SSIZE_T
     112RTEMS_CHECK_GCC_PRINTF_LD_OFF_T
     113RTEMS_CHECK_GCC_PRINTF_LLD_OFF_T
    88114])
Note: See TracChangeset for help on using the changeset viewer.