Mercurial > libavcodec.hg
comparison common.h @ 2522:e25782262d7d libavcodec
kill warnings patch by (Mns Rullgrd <mru inprovide com>)
author | michael |
---|---|
date | Thu, 24 Feb 2005 19:08:50 +0000 |
parents | 35ca0ef0c279 |
children | 9a7770ebed14 |
comparison
equal
deleted
inserted
replaced
2521:d3885f927bc7 | 2522:e25782262d7d |
---|---|
83 #else | 83 #else |
84 # define attribute_used | 84 # define attribute_used |
85 #endif | 85 #endif |
86 #endif | 86 #endif |
87 | 87 |
88 #ifndef attribute_unused | |
89 #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0) | |
90 # define attribute_unused __attribute__((unused)) | |
91 #else | |
92 # define attribute_unused | |
93 #endif | |
94 #endif | |
95 | |
88 #ifndef EMULATE_INTTYPES | 96 #ifndef EMULATE_INTTYPES |
89 # include <inttypes.h> | 97 # include <inttypes.h> |
90 #else | 98 #else |
91 typedef signed char int8_t; | 99 typedef signed char int8_t; |
92 typedef signed short int16_t; | 100 typedef signed short int16_t; |