comparison vidix/mtrr.c @ 27250:dcf62171257b

Remove -std=gnu99/gnu89/default dialect linux define, as it violates the C standard.
author michael
date Tue, 15 Jul 2008 00:21:32 +0000
parents 3abd1629658b
children 0f1b5b68af32
comparison
equal deleted inserted replaced
27249:4be2b34aa431 27250:dcf62171257b
37 #endif 37 #endif
38 #endif 38 #endif
39 39
40 int mtrr_set_type(unsigned base,unsigned size,int type) 40 int mtrr_set_type(unsigned base,unsigned size,int type)
41 { 41 {
42 #ifdef linux 42 #ifdef __linux__
43 FILE * mtrr_fd; 43 FILE * mtrr_fd;
44 char * stype; 44 char * stype;
45 switch(type) 45 switch(type)
46 { 46 {
47 case MTRR_TYPE_UNCACHABLE: stype = "uncachable"; break; 47 case MTRR_TYPE_UNCACHABLE: stype = "uncachable"; break;