aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/avr/avr-stdint.h
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2013-08-26 16:39:25 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2013-08-26 17:39:25 +0100
commit907555cee37c75c7b82b173b158379d9f4c547a4 (patch)
treef32ab02a8998d8ee1cd50f06a08ec691a297479b /gcc/config/avr/avr-stdint.h
parent2531a1d9f4bd1be785c98decc0b372c70edef943 (diff)
downloadgcc-907555cee37c75c7b82b173b158379d9f4c547a4.zip
gcc-907555cee37c75c7b82b173b158379d9f4c547a4.tar.gz
gcc-907555cee37c75c7b82b173b158379d9f4c547a4.tar.bz2
avr-stdint.h (INT16_TYPE): Change default to "int".
* config/avr/avr-stdint.h (INT16_TYPE): Change default to "int". (UINT16_TYPE): Change default to "unsigned int". From-SVN: r202005
Diffstat (limited to 'gcc/config/avr/avr-stdint.h')
-rw-r--r--gcc/config/avr/avr-stdint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/avr/avr-stdint.h b/gcc/config/avr/avr-stdint.h
index 8e7278f..4137b06 100644
--- a/gcc/config/avr/avr-stdint.h
+++ b/gcc/config/avr/avr-stdint.h
@@ -34,11 +34,11 @@ along with GCC; see the file COPYING3. If not see
#define SIG_ATOMIC_TYPE "char"
#define INT8_TYPE "signed char"
-#define INT16_TYPE (INT_TYPE_SIZE == 16 ? "short int" : "long int")
+#define INT16_TYPE (INT_TYPE_SIZE == 16 ? "int" : "long int")
#define INT32_TYPE (INT_TYPE_SIZE == 16 ? "long int" : "long long int")
#define INT64_TYPE (INT_TYPE_SIZE == 16 ? "long long int" : 0)
#define UINT8_TYPE "unsigned char"
-#define UINT16_TYPE (INT_TYPE_SIZE == 16 ? "short unsigned int" : "long unsigned int")
+#define UINT16_TYPE (INT_TYPE_SIZE == 16 ? "unsigned int" : "long unsigned int")
#define UINT32_TYPE (INT_TYPE_SIZE == 16 ? "long unsigned int" : "long long unsigned int")
#define UINT64_TYPE (INT_TYPE_SIZE == 16 ? "long long unsigned int" : 0)