mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Fix X11 compile and interrogate issues
This commit is contained in:
parent
589a1b52ac
commit
a745184f25
@ -30,14 +30,21 @@
|
||||
#ifdef CPPPARSER
|
||||
// A simple hack so interrogate can get all of the necessary
|
||||
// typenames.
|
||||
typedef int X11_Display;
|
||||
typedef int X11_Window;
|
||||
typedef int X11_Cursor;
|
||||
typedef int XErrorEvent;
|
||||
typedef int XVisualInfo;
|
||||
typedef int Atom;
|
||||
typedef int XIM;
|
||||
typedef int XIC;
|
||||
typedef struct _XDisplay X11_Display;
|
||||
typedef unsigned int XID;
|
||||
typedef unsigned int Atom;
|
||||
typedef unsigned int Cardinal;
|
||||
typedef XID Colormap;
|
||||
typedef XID X11_Window;
|
||||
typedef XID X11_Cursor;
|
||||
typedef struct _XIM *XIM;
|
||||
typedef struct _XIC *XIC;
|
||||
struct XErrorEvent;
|
||||
struct XVisualInfo;
|
||||
#define Bool int
|
||||
#define Status int
|
||||
#define True 1
|
||||
#define False 0
|
||||
#else
|
||||
|
||||
#include "pre_x11_include.h"
|
||||
@ -45,6 +52,7 @@ typedef int XIC;
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
|
||||
#ifdef HAVE_XRANDR
|
||||
#include <X11/extensions/Xrandr.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user