gstreamer/gst/gsti386.h
Richard Boulton 968b5acaa1 Fix on x86 architectures - was just checking for 386, D'oh.
Original commit message from CVS:
Fix on x86 architectures - was just checking for 386, D'oh.
Fix autogen to run autoheader _before_ autoconf, since it generates a
required file (config.h.in, which I just removed from CVS since its an
autogenerated one).  Also fix messed up variables in gst/Makefile.am
2000-09-15 23:04:31 +00:00

14 lines
331 B
C

#ifndef GST_HGUARD_GSTI386_H
#define GST_HGUARD_GSTI386_H
#define GET_SP(target) \
__asm__("movl %%esp, %0" : "=m"(target) : : "esp", "ebp");
#define SET_SP(source) \
__asm__("movl %0, %%esp\n" : "=m"(thread->sp));
#define JUMP(target) \
__asm__("jmp " SYMBOL_NAME_STR(cothread_stub))
#endif /* GST_HGUARD_GSTI386_H */