Lines 151-159
Link Here
|
151 |
#endif |
151 |
#endif |
152 |
#endif |
152 |
#endif |
153 |
|
153 |
|
|
|
154 |
// For 2.6.18 or higher, the UTS_RELEASE is defined in the linux/utsrelease.h. |
155 |
#ifndef UTS_RELEASE |
156 |
#include <linux/utsrelease.h> |
157 |
#endif |
158 |
|
154 |
#include <linux/kmod.h> |
159 |
#include <linux/kmod.h> |
155 |
#include "firegl_public.h" |
160 |
#include "firegl_public.h" |
156 |
|
|
|
157 |
// ============================================================ |
161 |
// ============================================================ |
158 |
#ifndef TRUE |
162 |
#ifndef TRUE |
159 |
#define TRUE 1 |
163 |
#define TRUE 1 |
Lines 165-170
Link Here
|
165 |
#define NULL (void*)0 |
169 |
#define NULL (void*)0 |
166 |
#endif |
170 |
#endif |
167 |
|
171 |
|
|
|
172 |
// VM_SHM is deleted in 2.6.18 or higher kernels. |
173 |
#ifndef VM_SHM |
174 |
#define VM_SHM 0 |
175 |
#endif |
176 |
|
168 |
#ifdef FGL_USE_SCT |
177 |
#ifdef FGL_USE_SCT |
169 |
// get direct function pointers from sys_call_table for calling |
178 |
// get direct function pointers from sys_call_table for calling |
170 |
#else /* FGL_USE_SCT */ |
179 |
#else /* FGL_USE_SCT */ |