11debfc3dSmrg /* Definitions for <stdint.h> types for DragonFly systems. 2*8feb0f0bSmrg Copyright (C) 2014-2020 Free Software Foundation, Inc. 31debfc3dSmrg Contributed by John Marino <gnugcc@marino.st> 41debfc3dSmrg 51debfc3dSmrg This file is part of GCC. 61debfc3dSmrg 71debfc3dSmrg GCC is free software; you can redistribute it and/or modify 81debfc3dSmrg it under the terms of the GNU General Public License as published by 91debfc3dSmrg the Free Software Foundation; either version 3, or (at your option) 101debfc3dSmrg any later version. 111debfc3dSmrg 121debfc3dSmrg GCC is distributed in the hope that it will be useful, 131debfc3dSmrg but WITHOUT ANY WARRANTY; without even the implied warranty of 141debfc3dSmrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 151debfc3dSmrg GNU General Public License for more details. 161debfc3dSmrg 171debfc3dSmrg Under Section 7 of GPL version 3, you are granted additional 181debfc3dSmrg permissions described in the GCC Runtime Library Exception, version 191debfc3dSmrg 3.1, as published by the Free Software Foundation. 201debfc3dSmrg 211debfc3dSmrg You should have received a copy of the GNU General Public License and 221debfc3dSmrg a copy of the GCC Runtime Library Exception along with this program; 231debfc3dSmrg see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 241debfc3dSmrg <http://www.gnu.org/licenses/>. */ 251debfc3dSmrg 261debfc3dSmrg #define SIG_ATOMIC_TYPE "int" 271debfc3dSmrg 281debfc3dSmrg #define INT8_TYPE "signed char" 291debfc3dSmrg #define INT16_TYPE "short int" 301debfc3dSmrg #define INT32_TYPE "int" 311debfc3dSmrg #define INT64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int") 321debfc3dSmrg #define UINT8_TYPE "unsigned char" 331debfc3dSmrg #define UINT16_TYPE "short unsigned int" 341debfc3dSmrg #define UINT32_TYPE "unsigned int" 351debfc3dSmrg #define UINT64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int") 361debfc3dSmrg 371debfc3dSmrg #define INT_LEAST8_TYPE INT8_TYPE 381debfc3dSmrg #define INT_LEAST16_TYPE INT16_TYPE 391debfc3dSmrg #define INT_LEAST32_TYPE INT32_TYPE 401debfc3dSmrg #define INT_LEAST64_TYPE INT64_TYPE 411debfc3dSmrg #define UINT_LEAST8_TYPE UINT8_TYPE 421debfc3dSmrg #define UINT_LEAST16_TYPE UINT16_TYPE 431debfc3dSmrg #define UINT_LEAST32_TYPE UINT32_TYPE 441debfc3dSmrg #define UINT_LEAST64_TYPE UINT64_TYPE 451debfc3dSmrg 461debfc3dSmrg #define INT_FAST8_TYPE INT32_TYPE 471debfc3dSmrg #define INT_FAST16_TYPE INT32_TYPE 481debfc3dSmrg #define INT_FAST32_TYPE INT32_TYPE 491debfc3dSmrg #define INT_FAST64_TYPE INT64_TYPE 501debfc3dSmrg #define UINT_FAST8_TYPE UINT32_TYPE 511debfc3dSmrg #define UINT_FAST16_TYPE UINT32_TYPE 521debfc3dSmrg #define UINT_FAST32_TYPE UINT32_TYPE 531debfc3dSmrg #define UINT_FAST64_TYPE UINT64_TYPE 541debfc3dSmrg 551debfc3dSmrg #define INTPTR_TYPE (LONG_TYPE_SIZE == 64 ? INT64_TYPE : INT32_TYPE) 561debfc3dSmrg #define UINTPTR_TYPE (LONG_TYPE_SIZE == 64 ? UINT64_TYPE : UINT32_TYPE) 57