mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
tweaks to avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29691 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b107ae4ac4
commit
ec2ebc1c47
4 changed files with 25 additions and 14 deletions
|
@ -5,13 +5,15 @@
|
|||
# define OBJC_NONPORTABLE
|
||||
#endif
|
||||
|
||||
#if !defined(__DEPRECATE_DIRECT_ACCESS) || defined(__OBJC_LEGACY_GNU_MODE__) || defined(__OBJC_RUNTIME_INTERNAL__)
|
||||
# define OBJC_DEPRECATED
|
||||
#else
|
||||
# if ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR >= 1))
|
||||
# define OBJC_DEPRECATED __attribute__((deprecated))
|
||||
# else
|
||||
#if !defined(OBJC_DEPRECATED)
|
||||
# if !defined(__DEPRECATE_DIRECT_ACCESS) || defined(__OBJC_LEGACY_GNU_MODE__) || defined(__OBJC_RUNTIME_INTERNAL__)
|
||||
# define OBJC_DEPRECATED
|
||||
# else
|
||||
# if ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR >= 1))
|
||||
# define OBJC_DEPRECATED __attribute__((deprecated))
|
||||
# else
|
||||
# define OBJC_DEPRECATED
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue