Browse Source

* add CPU prefix to some defines
M netbsd/signal.inc

git-svn-id: trunk@24684 -

marco 12 years ago
parent
commit
c987e1f5b9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/netbsd/signal.inc

+ 2 - 2
rtl/netbsd/signal.inc

@@ -165,7 +165,7 @@ struct sigcontext {
 	sigset_t sc_mask;		/* signal mask to restore (new style) */
 	sigset_t sc_mask;		/* signal mask to restore (new style) */
 };
 };
 *)
 *)
-{$ifdef i386}
+{$ifdef CPUi386}
      SigContextRec = record
      SigContextRec = record
        sc_gs        : longint;   { machine state (struct trapframe): }
        sc_gs        : longint;   { machine state (struct trapframe): }
        sc_fs        : longint;
        sc_fs        : longint;
@@ -249,7 +249,7 @@ enum { _FRAME_GREG(GREG_OFFSETS) _NGREG = 26 };
 	greg(rsp, RSP, 24)	\
 	greg(rsp, RSP, 24)	\
 	greg(ss,  SS,  25)
 	greg(ss,  SS,  25)
 *)
 *)
-{$ifdef X86_64}
+{$ifdef CPUX86_64}
         SigContextRec = record
         SigContextRec = record
 	sc_args : array[0..6] of clong;
 	sc_args : array[0..6] of clong;
 	sc_rdi : clong;
 	sc_rdi : clong;