diff 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
line wrap: on
line diff
--- a/vidix/mtrr.c	Mon Jul 14 16:38:58 2008 +0000
+++ b/vidix/mtrr.c	Tue Jul 15 00:21:32 2008 +0000
@@ -39,7 +39,7 @@
 
 int	mtrr_set_type(unsigned base,unsigned size,int type)
 {
-#ifdef linux
+#ifdef __linux__
     FILE * mtrr_fd;
     char * stype;
     switch(type)