2
0
Эх сурвалжийг харах

* fixed compilation errors

git-svn-id: trunk@2815 -
Jonas Maebe 19 жил өмнө
parent
commit
cb94ba5457

+ 3 - 1
rtl/darwin/i386/sig_cpu.inc

@@ -76,11 +76,13 @@
     }
   {     THREAD_STATE_FLAVOR_LIST 0  }
 
+{
   const
      i386_THREAD_STATE = 1;     
      i386_FLOAT_STATE = 2;     
      i386_EXCEPTION_STATE = 3;     
      THREAD_STATE_NONE = 4;     
+}
   {
    * Main thread state consists of
    * general registers, segment registers,
@@ -106,7 +108,7 @@
           fs : cuint;
           gs : cuint;
        end;
-
+     i386_thread_state_t = i386_thread_state;
   {
    * Default segment register values.
     }

+ 1 - 1
rtl/darwin/i386/sighnd.inc

@@ -50,7 +50,7 @@ begin
   {$endif }
 
   if (res <> 0) then
-    HandleErrorAddrFrame(res,pointer(sigcontext^.ts.eip),pointer(sigcontext^.ts.ebp);
+    HandleErrorAddrFrame(res,pointer(sigcontext.ts.eip),pointer(sigcontext.ts.ebp));
 (*
   { return to trampoline }
   if res <> 0 then