diff options
| author | Dave Airlie <airlied@linux.ie> | 2005-08-17 00:14:18 +0000 | 
|---|---|---|
| committer | Dave Airlie <airlied@linux.ie> | 2005-08-17 00:14:18 +0000 | 
| commit | 279e7c113ced4f2f4dcc14801aa3084698a417bd (patch) | |
| tree | 919e8612067ec70408235397a227137522d43780 /shared-core | |
| parent | 91c9c847299a1f27c92f8663902fcee72a65f9e4 (diff) | |
commit toggle switch to make Linux drm_handle_t unsigned int
Diffstat (limited to 'shared-core')
| -rw-r--r-- | shared-core/drm.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/shared-core/drm.h b/shared-core/drm.h index ffbd4755..37c9af4f 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -133,7 +133,11 @@  #define _DRM_LOCK_IS_CONT(lock)	   ((lock) & _DRM_LOCK_CONT)  #define _DRM_LOCKING_CONTEXT(lock) ((lock) & ~(_DRM_LOCK_HELD|_DRM_LOCK_CONT)) +#if defined(__linux__) +typedef unsigned int drm_handle_t; +#else  typedef unsigned long drm_handle_t;	/**< To mapped regions */ +#endif  typedef unsigned int drm_context_t;	/**< GLXContext handle */  typedef unsigned int drm_drawable_t;  typedef unsigned int drm_magic_t;	/**< Magic for authentication */ | 
