Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / hidds / nouveau / drm / drm-aros / drm_redefines.h
blobd58f4440cd711e2102523f1ffcda05dc3bcd6ad0
1 /*
2 Copyright 2009, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #if !defined(DRM_REDEFINES_H)
7 #define DRM_REDEFINES_H
9 /* THESE REDEFINES ARE NECESSARY AS WE BUILD USER AND KERNEL INTO ONE MODULE
10 AND THEY HAVE OVERLAPPING FUNCTION NAMES! */
12 #define nouveau_notifier_alloc _redefined_nouveau_notifier_alloc
13 #define nouveau_channel_alloc _redefined_nouveau_channel_alloc
14 #define nouveau_channel_free _redefined_nouveau_channel_free
17 #define nouveau_bo_new _redefined_nouveau_bo_new
18 #define nouveau_bo_pin _redefined_nouveau_bo_pin
19 #define nouveau_bo_unpin _redefined_nouveau_bo_unpin
20 #define nouveau_bo_map _redefined_nouveau_bo_map
21 #define nouveau_bo_unmap _redefined_nouveau_bo_unmap
23 #define nouveau_fence_new _redefined_nouveau_fence_new
24 #define nouveau_fence_emit _redefined_nouveau_fence_emit
25 #define nouveau_fence_work _redefined_nouveau_fence_work
26 #define nouveau_fence_update _redefined_nouveau_fence_update
27 #endif