OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [freebsd-stdint.h] - Blame information for rev 328

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
/* Definitions for <stdint.h> types for FreeBSD systems.
2
   Copyright (C) 2009 Free Software Foundation, Inc.
3
   Contributed by Gerald Pfeifer <gerald@pfeifer.com>.
4
 
5
This file is part of GCC.
6
 
7
GCC is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 3, or (at your option)
10
any later version.
11
 
12
GCC is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
GNU General Public License for more details.
16
 
17
Under Section 7 of GPL version 3, you are granted additional
18
permissions described in the GCC Runtime Library Exception, version
19
3.1, as published by the Free Software Foundation.
20
 
21
You should have received a copy of the GNU General Public License and
22
a copy of the GCC Runtime Library Exception along with this program;
23
see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
24
<http://www.gnu.org/licenses/>.  */
25
 
26
#define SIG_ATOMIC_TYPE   "int"
27
 
28
#define INT8_TYPE         "signed char"
29
#define INT16_TYPE        "short int"
30
#define INT32_TYPE        "int"
31
#define INT64_TYPE        (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
32
#define UINT8_TYPE        "unsigned char"
33
#define UINT16_TYPE       "short unsigned int"
34
#define UINT32_TYPE       "unsigned int"
35
#define UINT64_TYPE       (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
36
 
37
#define INT_LEAST8_TYPE   "signed char"
38
#define INT_LEAST16_TYPE  "short int"
39
#define INT_LEAST32_TYPE  "int"
40
#define INT_LEAST64_TYPE  (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
41
#define UINT_LEAST8_TYPE  "unsigned char"
42
#define UINT_LEAST16_TYPE "short unsigned int"
43
#define UINT_LEAST32_TYPE "unsigned int"
44
#define UINT_LEAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
45
 
46
#define INT_FAST8_TYPE    "int"
47
#define INT_FAST16_TYPE   "int"
48
#define INT_FAST32_TYPE   "int"
49
#define INT_FAST64_TYPE   (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
50
#define UINT_FAST8_TYPE   "unsigned int"
51
#define UINT_FAST16_TYPE  "unsigned int"
52
#define UINT_FAST32_TYPE  "unsigned int"
53
#define UINT_FAST64_TYPE  (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
54
 
55
#define INTPTR_TYPE       (LONG_TYPE_SIZE == 64 ? "long int" : "int")
56
#define UINTPTR_TYPE      (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "unsigned int")

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.