Changeset bffdb82 in rtems for cpukit/include


Ignore:
Timestamp:
Nov 5, 2004, 11:34:49 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1c89b86
Parents:
9bb5b9d
Message:

2004-11-05 Ralf Corsepius <ralf_corsepiu@…>

  • configure.ac: Remove RTEMS_USES_INTTYPES_H. Require inttypes.h.
  • include/rtems/stdint.h: Remove "wild guesses", require inttypes.h.
  • libcsupport/include/inttypes.h: Cleanup.
  • libcsupport/include/stdint.h: Cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/stdint.h

    r9bb5b9d rbffdb82  
    1 /* 
    2  * rtems/stdint.h
     1/**
     2 * @file  rtems/stdint.h
    33 *
    4  * ISO C99 integer types
    5  *
     4 * Wrapper to <stdint.h>, switching to <inttypes.h> on systems
     5 * only having <inttypes.h> (e.g. Solaris-5.7).
     6 */
     7 
     8/*
    69 * $Id$
    710 */
     
    1013#define __rtems_stdint_h
    1114
    12 #ifdef __cplusplus
    13 extern "C" {
    14 #endif
    15 
    1615#include <rtems/score/cpuopts.h>
    1716
     
    1918#include <stdint.h>
    2019
    21 #elif RTEMS_USES_INTTYPES_H
     20#else
    2221#include <inttypes.h>
    23 
    24 #else
    25 /*
    26  * Wild guesses on systems not providing stdint.h nor inttypes.h
    27  * Known to work on Cywgin-1.3
    28  */
    29  
    30 #include <sys/types.h>
    31 
    32 #if !defined(uint8_t) && defined(__uint8_t)
    33 typedef __uint8_t uint8_t;
    34 #endif
    35 
    36 #if !defined(uint16_t) && defined(__uint16_t)
    37 typedef __uint16_t uint16_t;
    38 #endif
    39 
    40 #if !defined(uint32_t) && defined(__uint32_t)
    41 typedef __uint32_t uint32_t;
    42 #endif
    43 
    44 #if !defined(uint64_t) && defined(__uint64_t)
    45 typedef __uint64_t uint64_t;
    4622#endif
    4723
    4824#endif
    49 
    50 #ifdef __cplusplus
    51 }
    52 #endif
    53 
    54 #endif
Note: See TracChangeset for help on using the changeset viewer.