Include freeglut header via <GL/freeglut.h> rather than "../include/GL/freeglut.h"
This allows some additional flexibility with file layout. It should be the responsibility of the build environment, rather than at source level. This change tested on MSVC 6, cygwin and mingw32 gcc and Linux gcc. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@470 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
def83e15e9
commit
1523c69539
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
#if TARGET_HOST_UNIX_X11
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
#define GLX_GLXEXT_PROTOTYPES
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
@ -29,9 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
|
||||
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
@ -39,7 +39,7 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/* -- DEFINITIONS ---------------------------------------------------------- */
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/* -- PRIVATE FUNCTIONS ---------------------------------------------------- */
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "../include/GL/freeglut.h"
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user