root / trunk / tool / include.diff

Revision 500, 23.8 kB (checked in by saurik, 1 week ago)

Fixed a g++ 4.2 error in WebCore?.

  • usr/include/Security/Authorization.h

     
    3030#ifndef _SECURITY_AUTHORIZATION_H_ 
    3131#define _SECURITY_AUTHORIZATION_H_ 
    3232 
    33 #include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h> 
     33#include <MacTypes.h> 
    3434#include <stdio.h> 
    3535 
    3636#if defined(__cplusplus) 
  • usr/include/Availability.h

    diff --git /usr/include/Availability.h /usr/include/Availability.h
    index 1c3e1cf..cb81edb 100644
     
    9898#define __MAC_10_6      1060 
    9999#define __MAC_NA        9999   /* not available */ 
    100100 
     101#define __IPHONE_1_0     10000   
     102#define __IPHONE_1_2     10200   
    101103#define __IPHONE_2_0     20000   
    102104#define __IPHONE_NA      99999  /* not available */ 
    103105 
  • usr/include/AvailabilityInternal.h

    diff --git /usr/include/AvailabilityInternal.h /usr/include/AvailabilityInternal.h
     
    2121#ifndef __IPHONE_OS_VERSION_MIN_REQUIRED 
    2222        #ifdef __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ 
    2323        // compiler sets __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ when -miphoneos-version-min is used 
    24         #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_IPHONE_VERSION_MIN_REQUIRED__ 
     24        #define __IPHONE_OS_VERSION_MIN_REQUIRED __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ 
    2525    #endif 
    2626#endif 
    2727 
     
    3131    #ifndef __IPHONE_OS_VERSION_MAX_ALLOWED 
    3232        #define __IPHONE_OS_VERSION_MAX_ALLOWED     __IPHONE_2_0 
    3333    #endif 
    34     // make sure a valid min is set 
    35     #if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_2_0 
    36         #undef __IPHONE_OS_VERSION_MIN_REQUIRED 
    37         #define __IPHONE_OS_VERSION_MIN_REQUIRED    __IPHONE_2_0  
    38     #endif 
    3934     
    4035    // set up internal macros 
    4136     #if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_2_0 
     
    4540    #else 
    4641        #define __AVAILABILITY_INTERNAL__IPHONE_2_0 
    4742    #endif 
     43     #if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_1_2 
     44        #define __AVAILABILITY_INTERNAL__IPHONE_1_2          __AVAILABILITY_INTERNAL_UNAVAILABLE 
     45    #elif __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_1_2 
     46        #define __AVAILABILITY_INTERNAL__IPHONE_1_2          __AVAILABILITY_INTERNAL_WEAK_IMPORT 
     47    #else 
     48        #define __AVAILABILITY_INTERNAL__IPHONE_1_2 
     49    #endif 
    4850    #define __AVAILABILITY_INTERNAL__IPHONE_NA                     __AVAILABILITY_INTERNAL_UNAVAILABLE  
    4951    #define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_NA     __AVAILABILITY_INTERNAL__IPHONE_2_0 
    5052    #define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_2_0    __AVAILABILITY_INTERNAL_DEPRECATED 
     
    5050    #define __AVAILABILITY_INTERNAL__IPHONE_2_0_DEP__IPHONE_2_0    __AVAILABILITY_INTERNAL_DEPRECATED 
    5151    #define __AVAILABILITY_INTERNAL__IPHONE_NA_DEP__IPHONE_NA      __AVAILABILITY_INTERNAL_UNAVAILABLE 
    5252     
     53    #if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_1_2 
     54        #define __AVAILABILITY_INTERNAL__IPHONE_1_0_DEP__IPHONE_1_2        __AVAILABILITY_INTERNAL_DEPRECATED 
     55    #else 
     56        #define __AVAILABILITY_INTERNAL__IPHONE_1_0_DEP__IPHONE_1_2        __AVAILABILITY_INTERNAL__IPHONE_1_0 
     57    #endif 
     58    #if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_2_0 
     59        #define __AVAILABILITY_INTERNAL__IPHONE_1_0_DEP__IPHONE_2_0        __AVAILABILITY_INTERNAL_DEPRECATED 
     60        #define __AVAILABILITY_INTERNAL__IPHONE_1_2_DEP__IPHONE_2_0        __AVAILABILITY_INTERNAL_DEPRECATED 
     61    #else 
     62        #define __AVAILABILITY_INTERNAL__IPHONE_1_0_DEP__IPHONE_2_0        __AVAILABILITY_INTERNAL__IPHONE_1_0 
     63        #define __AVAILABILITY_INTERNAL__IPHONE_1_2_DEP__IPHONE_2_0        __AVAILABILITY_INTERNAL__IPHONE_1_2 
     64    #endif 
     65     
    5366#elif defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) 
    5467    // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 
    5568    #define __MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 
  • usr/include/AvailabilityMacros.h

     
    8484    #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 
    8585        #define MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 
    8686    #else 
    87         #if __ppc64__ || __i386__ || __x86_64__ 
     87        #ifdef __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ 
     88            #if __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     89                #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_4 
     90            #else 
     91                #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_5 
     92            #endif 
     93        #elif __ppc64__ || __i386__ || __x86_64__ 
    8894            #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_4 
    8995                #elif __arm__ 
    9096                        #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_5 
  • usr/include/sys/cdefs.h

    diff --git /usr/include/sys/cdefs.h /usr/include/sys/cdefs.h
    index 64e4e8b..0f43f4c 100644
     
    253253 
    254254/* These settings are particular to each product. */ 
    255255/* Product: iPhone */ 
     256#if __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__-0 >= 20000 
    256257#define __DARWIN_ONLY_64_BIT_INO_T      1 
     258#endif 
    257259#define __DARWIN_ONLY_UNIX_CONFORMANCE  1 
    258260#define __DARWIN_ONLY_VERS_1050         1 
    259261 
  • usr/include/CoreFoundation/CoreFoundation.h

     
    7878#include <CoreFoundation/CFMachPort.h> 
    7979#include <CoreFoundation/CFUserNotification.h> 
    8080#endif 
    81 #if (TARGET_OS_MAC && !TARGET_OS_EMBEDDED) 
     81#if (TARGET_OS_MAC && !TARGET_OS_EMBEDDED) || TARGET_OS_EMBEDDED 
    8282#include <CoreFoundation/CFXMLNode.h> 
    8383#include <CoreFoundation/CFXMLParser.h> 
    8484#ifndef CF_OPEN_SOURCE 
  • usr/include/WebCore/EventTargetNode.h

    diff --git /usr/include/WebCore/EventTargetNode.h /usr/include/WebCore/EventTargetNode.h
    index f44e158..728b6d3 100644
     
    102102    friend class EventTarget; 
    103103    RegisteredEventListenerList* m_regdListeners; 
    104104 
    105     HashMap<Node *, int> * EventTargetNode::WebThreadGetCurrentDOMMouseWheelEventListeners(); 
    106     HashMap<Node *, int> * EventTargetNode::WebThreadGetCurrentDOMMouseMoveEventListeners(); 
    107     HashMap<Node *, int> * EventTargetNode::WebThreadGetCurrentDOMMouseClickEventListeners(); 
     105    HashMap<Node *, int> * WebThreadGetCurrentDOMMouseWheelEventListeners(); 
     106    HashMap<Node *, int> * WebThreadGetCurrentDOMMouseMoveEventListeners(); 
     107    HashMap<Node *, int> * WebThreadGetCurrentDOMMouseClickEventListeners(); 
    108108 
    109109private: 
    110110    virtual void refEventTarget() { ref(); } 
  • usr/include/CarbonCore/FixMath.h

     
    9090 
    9191#else 
    9292 
    93     #error "Unknown architecture." 
     93    //#error "Unknown architecture." 
    9494    // To use unoptimized standard C code, remove above line. 
    9595    #define _IntSaturate(x) ((x) <= -0x1p31f ? (int) -0x80000000 : \ 
    9696        0x1p31f <= (x) ? (int) 0x7fffffff : (int) (x)) 
  • usr/include/CarbonCore/fp.h

     
    13141314*   dec2l       Similar to dec2num except a long is returned.                   * 
    13151315*                                                                               * 
    13161316********************************************************************************/ 
    1317 #if TARGET_CPU_PPC || TARGET_CPU_X86 || TARGET_CPU_PPC64 || TARGET_CPU_X86_64 
     1317#if TARGET_CPU_PPC || TARGET_CPU_X86 || TARGET_CPU_PPC64 || TARGET_CPU_X86_64 || TARGET_CPU_ARM 
    13181318    #define SIGDIGLEN      36   
    13191319#endif 
    13201320#define      DECSTROUTLEN   80               /* max length for dec2str output */ 
  • usr/include/machine/locks.h

     
    2727#include "ppc/locks.h" 
    2828#elif defined (__i386__) 
    2929#include "i386/locks.h" 
     30#elif defined (__arm__) 
     31#include "arm/locks.h" 
    3032#else 
    3133#error architecture not supported 
    3234#endif 
  • usr/include/CarbonCore/MachineExceptions.h

     
    277277typedef struct ExceptionInformation     ExceptionInformation; 
    278278#endif  /* TARGET_CPU_X86 */ 
    279279 
     280#if TARGET_CPU_ARM 
     281 
     282struct MachineInformationARM { 
     283    int unused; 
     284}; 
     285typedef struct MachineInformationARM MachineInformationARM; 
     286 
     287struct RegisterInformationARM { 
     288    unsigned int R0;  
     289    unsigned int R1;  
     290    unsigned int R2;  
     291    unsigned int R3;  
     292    unsigned int R4;  
     293    unsigned int R5;  
     294    unsigned int R6;  
     295    unsigned int R7;  
     296    unsigned int R8;  
     297    unsigned int R9;  
     298    unsigned int R10;  
     299    unsigned int R11;  
     300    unsigned int R12;  
     301    unsigned int R13;  
     302    unsigned int R14;  
     303    unsigned int R15;  
     304    unsigned int R16;  
     305    unsigned int R17;  
     306}; 
     307typedef struct RegisterInformationARM RegisterInformationARM; 
     308 
     309struct FPUInformationARM { 
     310    unsigned int dunno; /* FIXME */ 
     311}; 
     312typedef struct FPUInformationARM FPUInformationARM; 
     313 
     314struct VectorInformationARM { 
     315    unsigned int dunno[8]; 
     316}; 
     317typedef struct VectorInformationARM VectorInformationARM; 
     318 
     319typedef MachineInformationARM         MachineInformation; 
     320typedef RegisterInformationARM        RegisterInformation; 
     321typedef FPUInformationARM             FPUInformation; 
     322typedef VectorInformationARM          VectorInformation; 
     323struct ExceptionInformation { 
     324  ExceptionKind       theKind; 
     325  MachineInformation * machineState; 
     326  RegisterInformation * registerImage; 
     327  FPUInformation *    FPUImage; 
     328  ExceptionInfo       info; 
     329  VectorInformation * vectorImage; 
     330}; 
     331typedef struct ExceptionInformation     ExceptionInformation; 
     332#endif 
     333 
    280334/*  
    281335    Note:   An ExceptionHandler is NOT a UniversalProcPtr, except in Carbon. 
    282336            It must be a PowerPC function pointer with NO routine descriptor,  
  • Foundation/NSAffineTransform.h

    diff -ru /apl/inc/Foundation/NSAffineTransform.h /apl/32/Foundation/NSAffineTransform.h
    old new  
    44 
    55#import <Foundation/NSObject.h> 
    66#import <Foundation/NSGeometry.h> 
    7 #import <ApplicationServices/../Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h> 
     7#import <CoreGraphics/CGAffineTransform.h> 
    88 
    99typedef struct { 
    1010    CGFloat m11, m12, m21, m22; 
  • usr/include/Foundation/NSFileManager.h

    diff --git /usr/include/Foundation/NSFileManager.h /usr/include/Foundation/NSFileManager.h
    index a394b96..216a43f 100644
     
    9797- (BOOL)linkPath:(NSString *)src toPath:(NSString *)dest handler:(id)handler; 
    9898- (BOOL)copyPath:(NSString *)src toPath:(NSString *)dest handler:(id)handler; 
    9999- (BOOL)movePath:(NSString *)src toPath:(NSString *)dest handler:(id)handler;    
    100 - (BOOL)removeFileAtPath:(NSString *)path handler:(id)handler; 
    101100#endif 
     101- (BOOL)removeFileAtPath:(NSString *)path handler:(id)handler; 
    102102 
    103103/* Process working directory management. Despite the fact that these are instance methods on NSFileManager, these methods report and change (respectively) the working directory for the entire process. Developers are cautioned that doing so is fraught with peril. 
    104104 */ 
  • Foundation/NSGeometry.h

    diff -ru /apl/inc/Foundation/NSGeometry.h /apl/32/Foundation/NSGeometry.h
    old new  
    66#import <Foundation/NSValue.h> 
    77#import <Foundation/NSCoder.h> 
    88 
    9 #import <ApplicationServices/../Frameworks/CoreGraphics.framework/Headers/CGBase.h> 
    10 #import <ApplicationServices/../Frameworks/CoreGraphics.framework/Headers/CGGeometry.h> 
     9#import <CoreGraphics/CGBase.h> 
     10#import <CoreGraphics/CGGeometry.h> 
    1111 
    1212#if __LP64__ || NS_BUILD_32_LIKE_64 
    1313 
  • usr/include/AppKit/NSOpenGL.h

    diff --git /usr/include/AppKit/NSOpenGL.h /usr/include/AppKit/NSOpenGL.h
    index 5a8eaf4..e3ccb99 100644
     
    66*/ 
    77 
    88#import <Foundation/NSObject.h> 
     9 
     10#ifdef __arm__ 
     11#import <OpenGLES/ES1/gl.h> 
     12#else 
    913#import <OpenGL/gl.h> 
     14#endif 
    1015 
    1116@class NSData, NSView, NSScreen; 
    1217 
  • usr/include/CoreVideo/CVDisplayLink.h

    diff --git /usr/include/CoreVideo/CVDisplayLink.h /usr/include/CoreVideo/CVDisplayLink.h
    index d08c03a..56a8b08 100644
     
    2424#include <ApplicationServices/ApplicationServices.h> 
    2525#include <CoreVideo/CVReturn.h> 
    2626#include <CoreVideo/CVBase.h> 
     27 
     28#ifdef __arm__ 
     29#include <OpenGLES/EAGL.h> 
     30#else 
    2731#include <OpenGL/OpenGL.h> 
     32#endif 
    2833 
    2934#if defined(__cplusplus) 
    3035extern "C" { 
  • usr/include/CoreVideo/CVOpenGLBuffer.h

    diff --git /usr/include/CoreVideo/CVOpenGLBuffer.h /usr/include/CoreVideo/CVOpenGLBuffer.h
    index d64a896..732637f 100644
     
    1717#define __COREVIDEO_CVOPENGLBUFFER_H__ 1 
    1818 
    1919#include <CoreVideo/CVImageBuffer.h> 
     20 
     21#ifdef __arm__ 
     22#include <OpenGLES/EAGL.h> 
     23#include <OpenGLES/ES1/gl.h> 
     24#else 
    2025#include <OpenGL/OpenGL.h> 
    2126#include <OpenGL/gl.h> 
     27#endif 
    2228 
    2329 
    2430#if defined(__cplusplus) 
  • usr/include/CoreVideo/CVOpenGLTexture.h

    diff --git /usr/include/CoreVideo/CVOpenGLTexture.h /usr/include/CoreVideo/CVOpenGLTexture.h
    index 352096e..04d2a62 100644
     
    2020#include <CoreVideo/CVReturn.h> 
    2121#include <CoreVideo/CVImageBuffer.h> 
    2222#include <ApplicationServices/ApplicationServices.h> 
     23 
     24#ifdef __arm__ 
     25#include <OpenGLES/EAGL.h> 
     26#include <OpenGLES/ES1/gl.h> 
     27#else 
    2328#include <OpenGL/OpenGL.h> 
    2429#include <OpenGL/gl.h> 
     30#endif 
     31 
    2532#include <stddef.h> 
    2633#include <stdint.h> 
    2734 
  • usr/include/CoreVideo/CVOpenGLTextureCache.h

    diff --git /usr/include/CoreVideo/CVOpenGLTextureCache.h /usr/include/CoreVideo/CVOpenGLTextureCache.h
    index bb3000e..8b4628b 100644
     
    1313#include <CoreVideo/CVReturn.h> 
    1414#include <CoreVideo/CVBuffer.h> 
    1515#include <CoreVideo/CVOpenGLTexture.h> 
     16 
     17#ifdef __arm__ 
     18#include <OpenGLES/EAGL.h> 
     19#else 
    1620#include <OpenGL/OpenGL.h> 
     21#endif 
    1722 
    1823#if defined(__cplusplus) 
    1924extern "C" { 
  • usr/include/QuartzCore/CAOpenGLLayer.h

    diff --git /usr/include/QuartzCore/CAOpenGLLayer.h /usr/include/QuartzCore/CAOpenGLLayer.h
    index 0991768..fd6543c 100644
     
    55 
    66#import <QuartzCore/CALayer.h> 
    77#import <QuartzCore/CVBase.h> 
     8 
     9#ifdef __arm__ 
     10#import <OpenGLES/EAGL.h> 
     11#else 
    812#import <OpenGL/OpenGL.h> 
     13#endif 
    914 
    1015@interface CAOpenGLLayer : CALayer 
    1116{ 
  • usr/include/OSServices/OSServices.h

    diff --git /usr/include/OSServices/OSServices.h /usr/include/OSServices/OSServices.h
    index f14355d..c3295cf 100644
     
    5353#include <OSServices/WSTypes.h> 
    5454#endif 
    5555 
     56#if (TARGET_OS_MAC && !(TARGET_OS_EMBEDDED || TARGET_OS_IPHONE)) 
    5657#ifndef __WSMETHODINVOCATION__ 
    5758#include <OSServices/WSMethodInvocation.h> 
    5859#endif 
     
    6061#ifndef __WSPROTOCOLHANDLER__ 
    6162#include <OSServices/WSProtocolHandler.h> 
    6263#endif 
     64#endif 
    6365 
    6466 
    6567#if !__LP64__ 
  • usr/include/Security/KCExceptions.h

    diff --git /usr/include/Security/KCExceptions.h /usr/include/Security/KCExceptions.h
    index 3c62f78..e0abd87 100644
     
    2828#ifndef _SECURITY_KCEXCEPTIONS_H_ 
    2929#define _SECURITY_KCEXCEPTIONS_H_ 
    3030 
    31 #include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacErrors.h> 
     31#include <CarbonCore/MacErrors.h> 
    3232#include <security_utilities/errors.h> 
    3333 
    3434#ifdef lock 
  • usr/include/Security/KCUtilities.h

    diff --git /usr/include/Security/KCUtilities.h /usr/include/Security/KCUtilities.h
    index 7658350..137ac00 100644
     
    2525#define _SECURITY_KCUTILITIES_H_ 
    2626 
    2727#include <security_utilities/errors.h> 
    28 #include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacErrors.h> 
     28#include <CarbonCore/MacErrors.h> 
    2929 
    3030namespace Security 
    3131{ 
  • usr/include/Security/Keychains.h

    diff --git /usr/include/Security/Keychains.h /usr/include/Security/Keychains.h
    index 90ef927..f6e8e78 100644
     
    106106        typedef KeychainSchemaImpl Impl; 
    107107}; 
    108108 
    109  
     109class ItemImpl; 
    110110class KeychainImpl : public SecCFObject, private CssmClient::Db::DefaultCredentialsMaker 
    111111{ 
    112112    NOCOPY(KeychainImpl) 
  • usr/include/Security/cs.h

    diff --git /usr/include/Security/cs.h /usr/include/Security/cs.h
    index d7957fc..87e31ca 100644
     
    3131#include <Security/CodeSigning.h> 
    3232#include <Security/SecCodeSigner.h> 
    3333#include <Security/SecBasePriv.h> 
    34 #include <CoreServices/../Frameworks/CarbonCore.framework/Headers/MacErrors.h> 
     34#include <CarbonCore/MacErrors.h> 
    3535#include <security_utilities/globalizer.h> 
    3636#include <security_utilities/seccfobject.h> 
    3737#include <security_utilities/cfclass.h> 
  • usr/include/Security/cspclient.h

    diff --git /usr/include/Security/cspclient.h /usr/include/Security/cspclient.h
    index 8aab4b4..2ffe721 100644
     
    6767        Context(const CSP &csp, CSSM_ALGORITHMS alg = CSSM_ALGID_NONE); 
    6868        ~Context(); 
    6969 
    70         CSP Context::attachment() const { return parent<CSP>(); } 
    71         Module Context::module() const { return attachment()->module(); } 
     70        CSP attachment() const { return parent<CSP>(); } 
     71        Module module() const { return attachment()->module(); } 
    7272         
    7373        CSSM_ALGORITHMS algorithm() const { return mAlgorithm; } 
    7474        void algorithm(CSSM_ALGORITHMS alg); 
  • usr/include/Security/mach++.h

    diff --git /usr/include/Security/mach++.h /usr/include/Security/mach++.h
    index 93cae91..e539b83 100644
     
    192192        mutable char nameBuffer[BOOTSTRAP_MAX_NAME_LEN]; 
    193193     
    194194protected: 
    195         char *Bootstrap::makeName(const char *s) const 
     195        char *makeName(const char *s) const 
    196196        { return strncpy(nameBuffer, s, BOOTSTRAP_MAX_NAME_LEN); } 
    197197}; 
    198198 
  • usr/include/Security/objectacl.h

    diff --git /usr/include/Security/objectacl.h /usr/include/Security/objectacl.h
    index 0be1f62..c9ec079 100644
     
    125125        virtual bool validate(const AclValidationContext &ctx) const = 0; 
    126126 
    127127                template <class Action> 
    128                 void ObjectAcl::Entry::exportBlob(Action &pub, Action &priv) 
     128                void exportBlob(Action &pub, Action &priv) 
    129129                { 
    130130                        Endian<uint32> del = delegate; pub(del);        // 4 bytes delegate flag 
    131131                        exportSubject(subject, pub, priv);      // subject itself (polymorphic) 
     
    197197        // These helpers deal with transferring one subject from/to reader/writer streams. 
    198198        // You'd usually only call those from complex subject implementations (e.g. threshold) 
    199199        template <class Action> 
    200         static void ObjectAcl::exportSubject(AclSubject *subject, Action &pub, Action &priv) 
     200        static void exportSubject(AclSubject *subject, Action &pub, Action &priv) 
    201201        { 
    202202                Endian<uint32> typeAndVersion = subject->type() | subject->version() << AclSubject::versionShift; 
    203203                pub(typeAndVersion); 
  • usr/include/arm/signal.h

     
    1313 
    1414#ifndef _ANSI_SOURCE 
    1515 
     16typedef int sig_atomic_t; 
     17 
    1618#ifdef __APPLE_API_OBSOLETE 
    1719 
    1820#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE) 
     
    2022#define __need_struct_sigcontext 
    2123#include <arm/_structs.h> 
    2224 
    23 typedef int sig_atomic_t; 
    24  
    2525#endif /* (_POSIX_C_SOURCE && !_DARWIN_C_SOURCE) */ 
    2626 
    2727#endif /* __APPLE_API_OBSOLETE */ 
  • usr/include/mach/arm/_structs.h

    diff --git /usr/include/mach/arm/_structs.h /usr/include/mach/arm/_structs.h
    index e130afa..1f98c98 100644
     
    2525}; 
    2626#endif /* __DARWIN_UNIX03 */ 
    2727 
    28 #if __DARWIN_UNIX03 
     28#if __DARWIN_UNIX03 || 1 
    2929#define _STRUCT_ARM_THREAD_STATE        struct __darwin_arm_thread_state 
    3030_STRUCT_ARM_THREAD_STATE 
    3131{ 
  • usr/include/arm/_structs.h

    diff --git /usr/include/arm/_structs.h /usr/include/arm/_structs.h
    index 2834b48..6c14349 100644
     
    3838#endif /* _STRUCT_MCONTEXT */ 
    3939#endif /* __need_struct_mcontext */ 
    4040 
     41#ifdef __need_mcontext_t 
     42#undef __need_mcontext_t 
     43#ifndef _MCONTEXT_T 
     44#define _MCONTEXT_T 
     45typedef _STRUCT_MCONTEXT        *mcontext_t; 
     46#endif /* _MCONTEXT_T */ 
     47#endif /* __need_mcontext_t */ 
     48 
    4149#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE) 
    4250#ifndef ARM_MCONTEXT_SIZE 
    4351#define ARM_MCONTEXT_SIZE       (ARM_THREAD_STATE_COUNT + ARM_VFP_STATE_COUNT + ARM_EXCEPTION_STATE_COUNT) * sizeof(int) 
  • usr/include/mach/arm/thread_status.h

    diff --git /usr/include/mach/arm/thread_status.h /usr/include/mach/arm/thread_status.h
    index 69f9f4f..cc66a92 100755
     
    22#define _MACH_ARM_THREAD_STATUS_H_ 
    33 
    44#define ARM_THREAD_STATE        1 
     5#define THREAD_STATE_NONE       2 
    56 
    67typedef struct arm_thread_state { 
    78       unsigned int r0; 
  • usr/include/arm/_types.h

    diff --git /usr/include/arm/_types.h /usr/include/arm/_types.h
    index 4817457..30c9891 100644
     
    1515typedef char                    __int8_t; 
    1616#endif  /* !__GNUC__ */ 
    1717typedef unsigned char           __uint8_t; 
    18 typedef unsigned short          __int16_t; 
     18typedef short                   __int16_t; 
    1919typedef unsigned short          __uint16_t; 
    2020typedef int                     __int32_t; 
    2121typedef unsigned int            __uint32_t; 
  • usr/include/util.h

    diff --git /usr/include/util.h /usr/include/util.h
    index c70c6fb..1effc37 100644
     
    8686 
    8787__BEGIN_DECLS 
    8888struct utmp; /* forward reference to /usr/include/utmp.h */ 
    89 void    login(struct utmp *)            __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA); 
     89void    login(struct utmp *)            __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_1_2,__IPHONE_2_0); 
    9090int     login_tty(int); 
    91 int     logout(const char *)            __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA); 
     91int     logout(const char *)            __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_1_2,__IPHONE_2_0); 
    9292void    logwtmp(const char *, const char *, const char *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_2_0,__IPHONE_2_0); 
    9393int     opendev(char *, int, int, char **); 
    9494int     openpty(int *, int *, char *, struct termios *, 
  • usr/include/utmp.h

     
    9292        time_t  ll_time; 
    9393        char    ll_line[UT_LINESIZE]; 
    9494        char    ll_host[UT_HOSTSIZE]; 
    95 }                                       __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA); 
     95}                                       __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_1_2,__IPHONE_2_0); 
    9696 
    9797struct utmp { 
    9898        char    ut_line[UT_LINESIZE]; 
    9999        char    ut_name[UT_NAMESIZE]; 
    100100        char    ut_host[UT_HOSTSIZE]; 
    101101        long    ut_time; 
    102 }                                       __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA); 
     102}                                       __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_1_2,__IPHONE_2_0); 
    103103 
    104104#endif /* !_UTMP_H_ */ 
  • usr/include/c++/4.0.0/arm-apple-darwin8/bits/c++config.h

    diff --git /usr/include/c++/4.0.0/arm-apple-darwin8/bits/c++config.h /usr/include/c++/4.0.0/arm-apple-darwin8/bits/c++config.h
    index b570daa..3309946 100644
     
    127127#define _GLIBCXX_USE_C99_COMPLEX 1 
    128128 
    129129// Define if code specialized for wchar_t should be used. 
    130 #define _GLIBCXX_USE_WCHAR_T 1 
     130/* #undef _GLIBCXX_USE_WCHAR_T */ 
    131131 
    132132// Define if using setrlimit to set resource limits during 'make check'. 
    133133#define _GLIBCXX_RES_LIMITS 1 
  • usr/include/c++/4.0.0/bits/stringfwd.h

    diff --git /usr/include/c++/4.0.0/bits/stringfwd.h /usr/include/c++/4.0.0/bits/stringfwd.h
    index 99d3ce3..cc033d6 100644
     
    6161 
    6262#ifdef _GLIBCXX_USE_WCHAR_T 
    6363  template<> struct char_traits<wchar_t>; 
     64#endif 
    6465 
    6566  typedef basic_string<wchar_t> wstring; 
    66 #endif 
    6767} // namespace std 
    6868 
    6969#endif  // _STRINGFWD_H 
Note: See TracBrowser for help on using the browser.