Mercurial > mplayer.hg
annotate osdep/kerneltwosix.h @ 13591:ba6b9cc1b3d0
fix compilation on mingw
author | faust3 |
---|---|
date | Sat, 09 Oct 2004 07:38:45 +0000 |
parents | e0b096f0e640 |
children |
rev | line source |
---|---|
11765
e0b096f0e640
linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents:
diff
changeset
|
1 #include <linux/version.h> |
e0b096f0e640
linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents:
diff
changeset
|
2 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70) |
e0b096f0e640
linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents:
diff
changeset
|
3 #define __KERNEL__ |
e0b096f0e640
linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents:
diff
changeset
|
4 #include <linux/thread_info.h> |
e0b096f0e640
linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents:
diff
changeset
|
5 #include <linux/list.h> |
e0b096f0e640
linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents:
diff
changeset
|
6 #undef __KERNEL__ |
e0b096f0e640
linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents:
diff
changeset
|
7 #endif |
e0b096f0e640
linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents:
diff
changeset
|
8 |
e0b096f0e640
linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents:
diff
changeset
|
9 |