mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
3291097d21
commit
17cffd0100
2 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue