cleanup: remove remenants of gcc version checking
This commit is contained in:
parent
84d21e4de2
commit
3e41d0bf6a
2 changed files with 1 additions and 13 deletions
|
@ -45,7 +45,7 @@
|
|||
struct to become 8 instead of 4 if CPPU_GCC3_ALIGN were added to its first
|
||||
member.)
|
||||
*/
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 3)
|
||||
#if defined(__GNUC__)
|
||||
#define CPPU_GCC3_ALIGN( base_struct ) __attribute__ ((aligned (__alignof__ (base_struct))))
|
||||
#else
|
||||
#define CPPU_GCC3_ALIGN( base_struct )
|
||||
|
|
|
@ -116,18 +116,6 @@
|
|||
#define sun sun
|
||||
#endif
|
||||
|
||||
/* This is to work around a gcc 3.3 error that fixing actually breaks other
|
||||
* compilers. This will create a dummy variable specifically for gcc 3.3 that
|
||||
* allows it to compile and not break the others. Other compilers may follow
|
||||
* with this eror later. */
|
||||
#if defined __GNUC__
|
||||
#if ((__GNUC__ == 3) && (__GNUC_MINOR__ > 2))
|
||||
# define SAL_ISO_CONST const
|
||||
#else
|
||||
# define SAL_ISO_CONST
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /*_SAL_CONFIG_H_ */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue