mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix includes for gcc-4.6
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33069 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
df01b61d90
commit
8c89a47a8b
13 changed files with 72 additions and 13 deletions
16
ChangeLog
16
ChangeLog
|
@ -1,3 +1,19 @@
|
|||
2011-05-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSPortCoder.m:
|
||||
* Source/NSMethodSignature.m:
|
||||
* Source/GSFFCallInvocation.m:
|
||||
* Source/GSFFIInvocation.m:
|
||||
* Source/NSUnarchiver.m:
|
||||
* Source/NSCoder.m:
|
||||
* Source/cifframe.m:
|
||||
* Source/Additions/GSObjCRuntime.m:
|
||||
* Source/NSConnection.m:
|
||||
* Source/NSData.m:
|
||||
* Source/NSObjCRuntime.m:
|
||||
* Source/NSArchiver.m:
|
||||
Fixup objc header includes for gcc-4.6
|
||||
|
||||
2011-05-12 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSFileHandle.m:
|
||||
|
|
|
@ -71,7 +71,6 @@ extern struct objc_slot *objc_get_slot(Class, SEL);
|
|||
#define BDBGPrintf(format, args...) \
|
||||
do { if (behavior_debug) { fprintf(stderr, (format) , ## args); } } while (0)
|
||||
|
||||
|
||||
Class
|
||||
GSObjCClass(id obj)
|
||||
{
|
||||
|
@ -163,6 +162,11 @@ GSSelectorFromNameAndTypes(const char *name, const char *types)
|
|||
#elif defined (__GNUSTEP_RUNTIME__)
|
||||
return sel_registerTypedName_np(name, types);
|
||||
#else
|
||||
extern SEL sel_get_any_typed_uid(const char*);
|
||||
extern SEL sel_get_typed_uid(const char*, const char*);
|
||||
extern SEL sel_register_name(const char*);
|
||||
extern SEL sel_register_typed_name(const char*, const char*);
|
||||
|
||||
if (name == 0)
|
||||
{
|
||||
return 0;
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
Boston, MA 02111 USA.
|
||||
*/
|
||||
#import "common.h"
|
||||
#import <objc/encoding.h>
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
#import "Foundation/NSDistantObject.h"
|
||||
|
@ -31,6 +30,10 @@
|
|||
#import <callback.h>
|
||||
#import "callframe.h"
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#import "GSInvocation.h"
|
||||
|
|
|
@ -23,7 +23,11 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#import <objc/encoding.h>
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#define EXPOSE_NSInvocation_IVARS 1
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
|
|
|
@ -26,7 +26,11 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#import <objc/encoding.h>
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#define EXPOSE_NSArchiver_IVARS 1
|
||||
#define EXPOSE_NSUnarchiver_IVARS 1
|
||||
/*
|
||||
|
|
|
@ -27,7 +27,11 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#import <objc/encoding.h>
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#define EXPOSE_NSCoder_IVARS 1
|
||||
#import "Foundation/NSData.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
|
|
|
@ -30,7 +30,10 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#import <objc/encoding.h>
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#define GS_NSConnection_IVARS \
|
||||
BOOL _isValid; \
|
||||
|
|
|
@ -68,7 +68,11 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#import <objc/encoding.h>
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#import "GNUstepBase/GSObjCRuntime.h"
|
||||
#import "Foundation/NSByteOrder.h"
|
||||
#import "Foundation/NSCoder.h"
|
||||
|
|
|
@ -28,9 +28,11 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#ifndef __GNU_LIBOBJC__
|
||||
#include <objc/encoding.h>
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#define EXPOSE_NSMethodSignature_IVARS 1
|
||||
|
||||
#import "Foundation/NSMethodSignature.h"
|
||||
|
|
|
@ -26,7 +26,11 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#import <objc/encoding.h>
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#import "Foundation/NSException.h"
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -34,7 +34,11 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#import <objc/encoding.h>
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#define EXPOSE_NSPortCoder_IVARS 1
|
||||
#import "Foundation/NSException.h"
|
||||
#import "Foundation/NSByteOrder.h"
|
||||
|
|
|
@ -26,7 +26,11 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#import <objc/encoding.h>
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#define EXPOSE_NSUnarchiver_IVARS 1
|
||||
#include <string.h>
|
||||
#import "Foundation/NSDictionary.h"
|
||||
|
|
|
@ -24,7 +24,10 @@
|
|||
*/
|
||||
|
||||
#import "common.h"
|
||||
#import <objc/encoding.h>
|
||||
|
||||
#if !defined (__GNU_LIBOBJC__)
|
||||
# include <objc/encoding.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
|
|
Loading…
Reference in a new issue