add GL_INCLUDE_FILE capability
This commit is contained in:
parent
2ffcdfb3dc
commit
6bdaecd9f7
1
WFObj.cc
1
WFObj.cc
@ -8,7 +8,6 @@
|
|||||||
#include <ctype.h> /* isspace() */
|
#include <ctype.h> /* isspace() */
|
||||||
#include <string.h> /* strlen() */
|
#include <string.h> /* strlen() */
|
||||||
#include <stdlib.h> /* atoi */
|
#include <stdlib.h> /* atoi */
|
||||||
#include <GL/gl.h>
|
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
5
WFObj.h
5
WFObj.h
@ -2,7 +2,12 @@
|
|||||||
#ifndef WFOBJ_H
|
#ifndef WFOBJ_H
|
||||||
#define WFOBJ_H
|
#define WFOBJ_H
|
||||||
|
|
||||||
|
#ifdef GL_INCLUDE_FILE
|
||||||
|
#include GL_INCLUDE_FILE
|
||||||
|
#else
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user