4 extern char *WineIniFileName(void);
6 #define WINE_INI WineIniFileName()
9 extern int runtime_cpu (void);
11 static inline int runtime_cpu(void) { return 3; }
17 struct sigcontext_struct
19 unsigned short sc_gs
, __gsh
;
20 unsigned short sc_fs
, __fsh
;
21 unsigned short sc_es
, __esh
;
22 unsigned short sc_ds
, __dsh
;
31 unsigned long sc_trapno
;
34 unsigned short sc_cs
, __csh
;
35 unsigned long sc_eflags
;
36 unsigned long esp_at_signal
;
37 unsigned short sc_ss
, __ssh
;
39 unsigned long oldmask
;
42 #define WINE_DATA_SELECTOR 0x2b
43 #define WINE_CODE_SELECTOR 0x23
48 #define sigcontext_struct sigcontext
49 #define WINE_DATA_SELECTOR 0x1f
50 #define WINE_CODE_SELECTOR 0x17
55 #include <sys/ucontext.h>
56 #define sigcontext_struct ucontext
57 #define WINE_DATA_SELECTOR 0x1f
58 #define WINE_CODE_SELECTOR 0x17
63 #define sigcontext_struct sigcontext
64 #define WINE_DATA_SELECTOR 0x27
65 #define WINE_CODE_SELECTOR 0x1f
70 #endif /* __WINE_WINE_H */