michael@0: michael@0: /* michael@0: * Copyright 2013 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: // Older versions of XQuartz have a bug where a header included by osmesa.h michael@0: // defines GL_GLEXT_PROTOTYPES. This will cause a redefinition warning if michael@0: // the file that includes osmesa.h already defined it. XCode 3 uses a version michael@0: // of gcc (4.2.1) that does not support the diagnostic pragma to disable a michael@0: // warning (added in 4.2.4). So we use the system_header pragma to shut GCC michael@0: // up about warnings in osmesa.h michael@0: #pragma GCC system_header michael@0: #include