Mercurial > mplayer.hg
comparison vidix/sysdep/pci_linux.c @ 31013:e117bd87b33c
Do not check for __linux__ in a file that is only ever used on Linux.
author | diego |
---|---|
date | Thu, 22 Apr 2010 13:50:25 +0000 |
parents | 2c0a16bf54bb |
children | a6268840b870 |
comparison
equal
deleted
inserted
replaced
31012:9d2d41352b0d | 31013:e117bd87b33c |
---|---|
48 int dhahelper_fd = 0; | 48 int dhahelper_fd = 0; |
49 #endif | 49 #endif |
50 | 50 |
51 #ifdef CONFIG_SVGAHELPER | 51 #ifdef CONFIG_SVGAHELPER |
52 #include <svgalib_helper.h> | 52 #include <svgalib_helper.h> |
53 #ifdef __linux__ | |
54 #include <linux/ioctl.h> | 53 #include <linux/ioctl.h> |
55 #endif | |
56 #include <fcntl.h> | 54 #include <fcntl.h> |
57 #ifndef SVGALIB_HELPER_IOC_MAGIC | 55 #ifndef SVGALIB_HELPER_IOC_MAGIC |
58 /* svgalib 1.9.18+ compatibility ::atmos */ | 56 /* svgalib 1.9.18+ compatibility ::atmos */ |
59 #define SVGALIB_HELPER_IOCGPCIINL SVGAHELPER_PCIINL | 57 #define SVGALIB_HELPER_IOCGPCIINL SVGAHELPER_PCIINL |
60 #endif | 58 #endif |