VirtualBox

Ignore:
Timestamp:
Aug 9, 2016 1:32:18 PM (8 years ago)
Author:
vboxsync
Message:

chromium.h: guard the GCC diagnostic pragmas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/chromium.h

    r63199 r63203  
    6565#ifndef WINDOWS
    6666# ifndef RT_OS_WINDOWS /* If we don't need it in ring-3, we probably not need it in ring-0 either (triggers warnings). */
    67 #  if 1
     67#  include <iprt/cdefs.h>
     68#  if RT_GNUC_PREREQ(4, 6)
    6869#   pragma GCC diagnostic push
     70#  endif
     71#  if RT_GNUC_PREREQ(4, 2)
    6972#   pragma GCC diagnostic ignored "-Wstrict-prototypes"
    7073#  endif
    71 #include <GL/glu.h>
    72 #  if 1
     74#  include <GL/glu.h>
     75#  if RT_GNUC_PREREQ(4, 6)
    7376#   pragma GCC diagnostic pop
    7477#  endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette