L4RE: fix x86 syscall bindings to use in C++ namespace

This commit is contained in:
Stefan Kalkowski
2017-05-03 15:01:31 +02:00
parent f0ae5c7229
commit f4e7783ac1

View File

@@ -48,7 +48,11 @@
#if 1
#ifdef __PIC__
#ifndef __cplusplus
extern void (*__l4sys_invoke_indirect)(void);
#else
extern "C" void (*__l4sys_invoke_indirect)(void);
#endif
#endif
# define IPC_SYSENTER "# indirect sys invoke \n\t" \
"call *%[func] \n\t"