mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
968b5acaa1
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
13 lines
331 B
C
13 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 */
|