mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
Build infrastructure for libwfb.so.
Builds fb/* twice, defining FB_ACCESS_WRAPPER for libwfb.la. Define a macro, FBPREFIX(X) which expands to fbX for libfb.la and wfbX for libwfb.la. Use the macro on [w]fbModuleData so the new module loads.
This commit is contained in:
parent
39158e98ac
commit
7608a63ff7
4 changed files with 23 additions and 3 deletions
6
fb/fb.h
6
fb/fb.h
|
|
@ -44,6 +44,12 @@
|
|||
#include "picture.h"
|
||||
#endif
|
||||
|
||||
#ifdef FB_ACCESS_WRAPPER
|
||||
#define FBPREFIX(x) wfb##x
|
||||
#else
|
||||
#define FBPREFIX(x) fb##x
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This single define controls the basic size of data manipulated
|
||||
* by this software; it must be log2(sizeof (FbBits) * 8)
|
||||
|
|
|
|||
Loading…
Reference in a new issue