Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: third_party/glew/include/GL/glxew.h

Issue 3014046: Merge 45827 - Merged in fixes for GLEW compile errors on linux.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/375/src/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ** The OpenGL Extension Wrangler Library 2 ** The OpenGL Extension Wrangler Library
3 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org> 3 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
4 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org> 4 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
5 ** Copyright (C) 2002, Lev Povalahev 5 ** Copyright (C) 2002, Lev Povalahev
6 ** All rights reserved. 6 ** All rights reserved.
7 ** 7 **
8 ** Redistribution and use in source and binary forms, with or without 8 ** Redistribution and use in source and binary forms, with or without
9 ** modification, are permitted provided that the following conditions are met: 9 ** modification, are permitted provided that the following conditions are met:
10 ** 10 **
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 76 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
77 */ 77 */
78 78
79 #ifndef __glxew_h__ 79 #ifndef __glxew_h__
80 #define __glxew_h__ 80 #define __glxew_h__
81 #define __GLXEW_H__ 81 #define __GLXEW_H__
82 82
83 #ifdef __glxext_h_ 83 #ifdef __glxext_h_
84 #error glxext.h included before glxew.h 84 #error glxext.h included before glxew.h
85 #endif 85 #endif
86 #ifdef GLX_H 86
87 #if defined(GLX_H) || defined(__GLX_glx_h__) || defined(__glx_h__)
87 #error glx.h included before glxew.h 88 #error glx.h included before glxew.h
88 #endif 89 #endif
89 90
90 #define __glxext_h_ 91 #define __glxext_h_
92
93 #define GLX_H
91 #define __GLX_glx_h__ 94 #define __GLX_glx_h__
92 #define GLX_H 95 #define __glx_h__
93 96
94 #include <X11/Xlib.h> 97 #include <X11/Xlib.h>
95 #include <X11/Xutil.h> 98 #include <X11/Xutil.h>
96 #include <X11/Xmd.h> 99 #include <X11/Xmd.h>
97 #include <GL/glew.h> 100 #include <GL/glew.h>
98 101
99 #ifdef __cplusplus 102 #ifdef __cplusplus
100 extern "C" { 103 extern "C" {
101 #endif 104 #endif
102 105
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1435 1438
1436 #endif /* GLEW_MX */ 1439 #endif /* GLEW_MX */
1437 1440
1438 extern GLboolean glxewGetExtension (Display* dpy, const char* name); 1441 extern GLboolean glxewGetExtension (Display* dpy, const char* name);
1439 1442
1440 #ifdef __cplusplus 1443 #ifdef __cplusplus
1441 } 1444 }
1442 #endif 1445 #endif
1443 1446
1444 #endif /* __glxew_h__ */ 1447 #endif /* __glxew_h__ */
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698