[haiku-commits] r41101 - in haiku/trunk/src/add-ons/accelerants/radeon_hd: . atombios/includes

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 25 Mar 2011 04:18:45 +0100 (CET)

Author: kallisti5
Date: 2011-03-25 04:18:44 +0100 (Fri, 25 Mar 2011)
New Revision: 41101
Changeset: https://dev.haiku-os.org/changeset/41101

Modified:
   haiku/trunk/src/add-ons/accelerants/radeon_hd/Jamfile
   
haiku/trunk/src/add-ons/accelerants/radeon_hd/atombios/includes/CD_Common_Types.h
Log:
make atombios headers available to radeon_hd accel; one small change to 
atombios to stop Werrors in accelerant

Modified: haiku/trunk/src/add-ons/accelerants/radeon_hd/Jamfile
===================================================================
--- haiku/trunk/src/add-ons/accelerants/radeon_hd/Jamfile       2011-03-25 
02:05:32 UTC (rev 41100)
+++ haiku/trunk/src/add-ons/accelerants/radeon_hd/Jamfile       2011-03-25 
03:18:44 UTC (rev 41101)
@@ -2,6 +2,7 @@
 
 SetSubDirSupportedPlatformsBeOSCompatible ;
 
+UseHeaders [ FDirName $(SUBDIR) atombios includes ] ;
 UsePrivateHeaders graphics ;
 UsePrivateHeaders [ FDirName graphics radeon_hd ] ;
 UsePrivateHeaders [ FDirName graphics common ] ;

Modified: 
haiku/trunk/src/add-ons/accelerants/radeon_hd/atombios/includes/CD_Common_Types.h
===================================================================
--- 
haiku/trunk/src/add-ons/accelerants/radeon_hd/atombios/includes/CD_Common_Types.h
   2011-03-25 02:05:32 UTC (rev 41100)
+++ 
haiku/trunk/src/add-ons/accelerants/radeon_hd/atombios/includes/CD_Common_Types.h
   2011-03-25 03:18:44 UTC (rev 41101)
@@ -82,9 +82,12 @@
                typedef unsigned int            uintn_t;
 #endif
 #endif
+// HAIKU_ADDITION prevent silly Werror
+#if 0
 #ifndef FGL_LINUX
 #pragma warning ( disable : 4142 )
 #endif
+#endif
 
 
 #ifndef VOID
@@ -155,10 +158,12 @@
 
 //typedef      UINTN           CD_STATUS;
 
-
+// HAIKU_ADDITION prevent silly Werror
+#if 0
 #ifndef FGL_LINUX
 #pragma warning ( default : 4142 )
 #endif
+#endif
 #endif // _COMMON_TYPES_H_
 
 // EOF


Other related posts:

  • » [haiku-commits] r41101 - in haiku/trunk/src/add-ons/accelerants/radeon_hd: . atombios/includes - kallisti5