* include/grub/i386/setjmp.h: Remove useless #if MINGW where original
difference was likely just gcc version, not anything mingw-related.
This commit is contained in:
parent
7e518ca84f
commit
dad9fa6bcf
2 changed files with 5 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-09-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* include/grub/i386/setjmp.h: Remove useless #if MINGW where original
|
||||||
|
difference was likely just gcc version, not anything mingw-related.
|
||||||
|
|
||||||
2013-09-23 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-09-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Use Winapi on both cygwin and mingw32 to share more code between both.
|
Use Winapi on both cygwin and mingw32 to share more code between both.
|
||||||
|
|
|
@ -21,12 +21,8 @@
|
||||||
|
|
||||||
typedef unsigned long grub_jmp_buf[6];
|
typedef unsigned long grub_jmp_buf[6];
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
|
||||||
int grub_setjmp (grub_jmp_buf env) __attribute__ ((cdecl, regparm (3)));
|
|
||||||
#else
|
|
||||||
int grub_setjmp (grub_jmp_buf env) __attribute__ ((returns_twice, cdecl,
|
int grub_setjmp (grub_jmp_buf env) __attribute__ ((returns_twice, cdecl,
|
||||||
regparm (3)));
|
regparm (3)));
|
||||||
#endif
|
|
||||||
void grub_longjmp (grub_jmp_buf env, int val) __attribute__ ((noreturn, cdecl,
|
void grub_longjmp (grub_jmp_buf env, int val) __attribute__ ((noreturn, cdecl,
|
||||||
regparm (3)));
|
regparm (3)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue