Release 941210
[wine/multimedia.git] / include / wine.h
blobcf7dfdc5792329f583f5d759403be8c5104406a8
1 #ifndef WINE_H
2 #define WINE_H
4 extern char *WineIniFileName(void);
5 extern char *WinIniFileName(void);
7 #define WINE_INI WineIniFileName()
8 #define WIN_INI WinIniFileName()
10 #ifdef linux
11 struct sigcontext_struct {
12 unsigned short sc_gs, __gsh;
13 unsigned short sc_fs, __fsh;
14 unsigned short sc_es, __esh;
15 unsigned short sc_ds, __dsh;
16 unsigned long sc_edi;
17 unsigned long sc_esi;
18 unsigned long sc_ebp;
19 unsigned long sc_esp;
20 unsigned long sc_ebx;
21 unsigned long sc_edx;
22 unsigned long sc_ecx;
23 unsigned long sc_eax;
24 unsigned long sc_trapno;
25 unsigned long sc_err;
26 unsigned long sc_eip;
27 unsigned short sc_cs, __csh;
28 unsigned long sc_eflags;
29 unsigned long esp_at_signal;
30 unsigned short sc_ss, __ssh;
31 unsigned long i387;
32 unsigned long oldmask;
33 unsigned long cr2;
35 #define WINE_DATA_SELECTOR 0x2b
36 #define WINE_CODE_SELECTOR 0x23
37 #endif
39 #if defined(__NetBSD__) || defined(__FreeBSD__)
40 #include <signal.h>
41 #define sigcontext_struct sigcontext
42 #define HZ 100
43 #define WINE_DATA_SELECTOR 0x27
44 #define WINE_CODE_SELECTOR 0x1f
45 #endif
47 #endif /* WINE_H */