Prevent redefinition warnings for ObjC++ related macros

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35738 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
qmathe 2012-10-25 14:37:12 +00:00
parent 3291097d21
commit 17cffd0100
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-10-25 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/GNUstepBase/GSConfig.h.in: Prevent redefinition warnings for
__STDC_LIMIT_MACROS and __STC_CONSTANT_MACROS (both are ObjC++ related).
2012-10-22 Thomas Davie <tom.davie@gmail.com>
* Headers/Foundation/NSSet.h:

View file

@ -30,8 +30,12 @@
#define included_GSConfig_h
// Make sure we expose the constants that we use in ObjC++ mode
#ifndef __STDC_CONSTANT_MACROS
#define __STDC_CONSTANT_MACROS 1
#endif
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
#endif
#if !defined(NeXT_Foundation_LIBRARY)