Lines 26-34
Link Here
|
26 |
#include <linux/version.h> |
24 |
#include <linux/version.h> |
27 |
#include <sys/types.h> |
25 |
#include <sys/types.h> |
28 |
#ifndef __u64 |
26 |
#ifndef __u64 |
29 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70) |
27 |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70) |
30 |
typedef unsigned long long __u64; |
28 |
#include <bits/wordsize.h> |
31 |
#endif |
29 |
#if __WORDSIZE == 64 |
|
|
30 |
typedef unsigned long __u64; |
31 |
#else |
32 |
typedef unsigned long long __u64; |
33 |
#endif |
34 |
#endif |
32 |
#endif |
35 |
#endif |
33 |
#include "cdromAccess_Linux.cpp" |
36 |
#include "cdromAccess_Linux.cpp" |
34 |
#endif |
37 |
#endif |