diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2015-01-26 17:35:20 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-01-26 18:58:17 +0100 |
commit | 374e6d06253fffc51288f0bc8b96de0e26e6ec31 (patch) | |
tree | 358cc0a1f2ce87c68d5c4a903e7b3b95199f3e34 | |
parent | 76dc3d22d6d5b49a3f82746833182e34e5615f36 (diff) |
trdx-nv-binaries: don't include X11 headers in eglplatform.h
Use the exact base types as X11 defines them. Newer compilers
through errors when mixing unsigned with unsigned long and
the likes.
-rw-r--r-- | recipes/trdx-nv-binaries/files/eglplatform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/trdx-nv-binaries/files/eglplatform.h b/recipes/trdx-nv-binaries/files/eglplatform.h index a141762..72b5f2d 100644 --- a/recipes/trdx-nv-binaries/files/eglplatform.h +++ b/recipes/trdx-nv-binaries/files/eglplatform.h @@ -110,8 +110,8 @@ typedef void *EGLNativeDisplayType; #if 1 typedef struct _XDisplay *EGLNativeDisplayType; -typedef khronos_uint32_t EGLNativePixmapType; -typedef khronos_uint32_t EGLNativeWindowType; +typedef unsigned long EGLNativePixmapType; +typedef unsigned long EGLNativeWindowType; #else |