projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a7f31
)
Remove use of X windows include
author
Dave Airlie
<airliedfreedesktop.org>
Sun, 6 Jun 2004 23:32:12 +0000
(23:32 +0000)
committer
Dave Airlie
<airliedfreedesktop.org>
Sun, 6 Jun 2004 23:32:12 +0000
(23:32 +0000)
src/mesa/drivers/dri/mach64/mach64_context.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/mach64/mach64_context.h
b/src/mesa/drivers/dri/mach64/mach64_context.h
index a4a48b8fb3819aa279b371865fc1db080d12a286..e61083f821b6359dab35e856836ffb1e84977433 100644
(file)
--- a/
src/mesa/drivers/dri/mach64/mach64_context.h
+++ b/
src/mesa/drivers/dri/mach64/mach64_context.h
@@
-355,9
+355,9
@@
extern GLboolean mach64UnbindContext( __DRIcontextPrivate *driContextPriv );
/* ================================================================
* Byte ordering
*/
-#include
"X11/Xarch.h"
+#include
<endian.h>
-#if
X_BYTE_ORDER == X
_LITTLE_ENDIAN
+#if
__BYTE_ORDER == _
_LITTLE_ENDIAN
#define LE32_IN( x ) ( *(GLuint *)(x) )
#define LE32_IN_FLOAT( x ) ( *(GLfloat *)(x) )
#define LE32_OUT( x, y ) do { *(GLuint *)(x) = (y); } while (0)