Skip to content
Snippets Groups Projects
Commit aaec32ef authored by Fons Rademakers's avatar Fons Rademakers
Browse files

fix for GL macros on Solaris confusing GL methods in TVirtualX.h. Also

corrected multiple inclusion macros that were not of the format ROOT_filename.


git-svn-id: http://root.cern.ch/svn/root/trunk@6111 27541ba8-7e3a-0410-8455-c3a389f83636
parent d418017d
No related branches found
No related tags found
No related merge requests found
/* @(#)root/gl:$Name$:$Id$ */
/* @(#)root/gl:$Name: $:$Id: TRootGLU.h,v 1.1.1.1 2000/05/16 17:00:47 rdm Exp $ */
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
......@@ -8,13 +8,18 @@
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef GL_RootGLU
#define GL_RootGLU
#ifndef ROOT_TRootGLU
#define ROOT_TRootGLU
#ifdef WIN32
#ifndef ROOT_Windows4Root
#include "Windows4Root.h"
#endif
#endif
// avoid inclusion of macros that confuse TVirtualX.h on Solaris
#define SUN_OGL_NO_VERTEX_MACROS
#include <GL/glu.h>
#endif /* GL_RootGLU */
#endif
// @(#)root/gl:$Name: $:$Id: TRootGLViewer.h,v 1.3 2001/04/11 17:28:08 brun Exp $
// @(#)root/gl:$Name: $:$Id: TRootGLViewer.h,v 1.4 2001/11/28 16:01:07 rdm Exp $
// Author: Fons Rademakers 15/01/98
/*************************************************************************
......@@ -28,16 +28,16 @@
#ifndef ROOT_TGLViewerImp
#include "TGLViewerImp.h"
#endif
#ifndef GL_RootGLU
#ifndef ROOT_TRootGLU
#include "TRootGLU.h"
#endif
#ifdef GDK_WIN32
#ifndef GL_RootWGL
#ifndef ROOT_TRootWGL
#include "TRootWGL.h"
#endif
#else
#ifndef GL_RootGLX
#ifndef ROOT_TRootGLX
#include "TRootGLX.h"
#endif
#endif
......
/* @(#)root/gl:$Name$:$Id$ */
/* @(#)root/gl:$Name: $:$Id: TRootGLX.h,v 1.1.1.1 2000/05/16 17:00:47 rdm Exp $ */
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
......@@ -11,6 +11,15 @@
#ifndef ROOT_TRootGLX
#define ROOT_TRootGLX
#ifdef WIN32
#ifndef ROOT_Windows4Root
#include "Windows4Root.h"
#endif
#endif
// avoid inclusion of macros that confuse TVirtualX.h on Solaris
#define SUN_OGL_NO_VERTEX_MACROS
#include <GL/glx.h>
#endif
// @(#)root/gl:$Name:$:$Id:$
// @(#)root/gl:$Name: $:$Id: TRootOIViewer.h,v 1.1 2001/04/28 16:23:32 rdm Exp $
// Author: Valery Fine & Fons Rademakers 5/10/2000 and 28/4/2001
/*************************************************************************
......@@ -28,7 +28,7 @@
#ifndef ROOT_TGLViewerImp
#include "TGLViewerImp.h"
#endif
#ifndef GL_RootGLU
#ifndef ROOT_TRootGLU
# include "TRootGLU.h"
#endif
......
/* @(#)root/gl:$Name: $:$Id: TRootWGL.h,v 1.1.1.1 2000/05/16 17:00:47 rdm Exp $ */
/* @(#)root/gl:$Name: $:$Id: TRootWGL.h,v 1.2 2001/11/28 16:01:07 rdm Exp $ */
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
......@@ -8,8 +8,8 @@
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef GL_RootWGL
#define GL_RootWGL
#ifndef ROOT_TRootWGL
#define ROOT_TRootWGL
#ifndef ROOT_Windows4Root
#include "Windows4Root.h"
......@@ -19,6 +19,6 @@
#include "gdk/gdk.h"
#endif
#include <wingdi.h>
#include <wingdi.h>
#endif /* GL_RootWGL */
#endif
// @(#)root/gl:$Name$:$Id$
// @(#)root/gl:$Name: $:$Id: TWin32GLViewerImp.h,v 1.1.1.1 2000/05/16 17:00:47 rdm Exp $
// Author: Valery Fine(fine@vxcern.cern.ch) 29/12/96
/*************************************************************************
......@@ -22,11 +22,11 @@
// //
//////////////////////////////////////////////////////////////////////////
#ifndef GL_RootWGL
#ifndef ROOT_TRootWGL
#include "TRootWGL.h"
#endif
#ifndef GL_RootGLU
#ifndef ROOT_TRootGLU
#include "TRootGLU.h"
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment