diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-15 16:42:50 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-15 16:42:50 +0000 |
commit | 0f4276fe38b134fd0edf9bfb3d850cc0681a86b5 (patch) | |
tree | 95721abe421c10dc5cfa92379d44e6c733fd2cfe /vidix | |
parent | af7f992651f0d2db39ececd0e5ce9d7460e179be (diff) | |
download | mpv-0f4276fe38b134fd0edf9bfb3d850cc0681a86b5.tar.bz2 mpv-0f4276fe38b134fd0edf9bfb3d850cc0681a86b5.tar.xz |
ifdef one variable that is not used with alpha and powerpc architectures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24530 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r-- | vidix/pci.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vidix/pci.c b/vidix/pci.c index 5f1e0343c3..2b85b86a71 100644 --- a/vidix/pci.c +++ b/vidix/pci.c @@ -521,7 +521,10 @@ int pci_scan(pciinfo_t *pci_list,unsigned *num_pci) { unsigned int idx = 0; struct pci_config_reg pcr; - int do_mode1_scan = 0, do_mode2_scan = 0; + int do_mode1_scan = 0; +#if !defined(__alpha__) && !defined(__powerpc__) + int do_mode2_scan = 0; +#endif int func, hostbridges=0; int ret = -1; |