mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 23:20:23 +01:00
define Bool for solo builds
This commit is contained in:
parent
d5cc77e37c
commit
9165d46fdb
2 changed files with 5 additions and 15 deletions
|
|
@ -22,19 +22,6 @@
|
|||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
#if 0
|
||||
#include "xf86.h"
|
||||
#include "xf86_OSproc.h"
|
||||
#include "xf86_ansic.h"
|
||||
#include "xf86Priv.h"
|
||||
|
||||
#include "xf86PciInfo.h"
|
||||
#include "xf86Pci.h"
|
||||
|
||||
#define _XF86DRI_SERVER_
|
||||
#include "GL/glxtokens.h"
|
||||
|
||||
#else
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
@ -45,7 +32,8 @@
|
|||
#include "driver.h"
|
||||
#include "drm.h"
|
||||
#include "imports.h"
|
||||
#endif
|
||||
|
||||
typedef int Bool; /* via_dri.h makes use of this */
|
||||
|
||||
#include "dri_util.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ typedef struct {
|
|||
drmSize size;
|
||||
} viaRegion, *viaRegionPtr;
|
||||
|
||||
typedef int Bool;
|
||||
|
||||
typedef struct {
|
||||
viaRegion regs, agp;
|
||||
int deviceID;
|
||||
|
|
@ -24,7 +26,7 @@ typedef struct {
|
|||
int priv2;
|
||||
int fbOffset;
|
||||
int fbSize;
|
||||
char drixinerama;
|
||||
Bool drixinerama;
|
||||
int backOffset;
|
||||
int depthOffset;
|
||||
int textureOffset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue