mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 15:21:32 +00:00
Don't build relocate() under KEEP_IT_REAL
This commit is contained in:
parent
2fa14f2f1d
commit
44eee81d11
@ -4,6 +4,8 @@
|
||||
#include "etherboot.h"
|
||||
#include "relocate.h"
|
||||
|
||||
#ifndef KEEP_IT_REAL
|
||||
|
||||
/* by Eric Biederman */
|
||||
|
||||
/* On some platforms etherboot is compiled as a shared library, and we use
|
||||
@ -191,3 +193,5 @@ void relocate ( void ) {
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* ! KEEP_IT_REAL */
|
||||
|
@ -1,6 +1,15 @@
|
||||
#ifndef RELOCATE_H
|
||||
#define RELOCATE_H
|
||||
|
||||
#ifdef KEEP_IT_REAL
|
||||
|
||||
/* relocate() is conceptually impossible with KEEP_IT_REAL */
|
||||
#define relocate()
|
||||
|
||||
#else
|
||||
|
||||
extern void relocate ( void );
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* RELOCATE_H */
|
||||
|
Loading…
Reference in New Issue
Block a user