Fix OS-X compilation.
This commit is contained in:
parent
569042acbd
commit
a8fbfb17b4
2 changed files with 5 additions and 4 deletions
|
@ -2,7 +2,6 @@
|
|||
#ifndef __SHCONFIG_H
|
||||
#define __SHCONFIG_H
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
// Identify the operating system
|
||||
////////////////////////////////////////////////////////////
|
||||
|
@ -25,7 +24,7 @@
|
|||
#elif defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh)
|
||||
|
||||
// MacOS
|
||||
#define VG_API_MACOS
|
||||
#define VG_API_MACOSX
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
|
||||
|
|
|
@ -156,10 +156,12 @@ SHfloat getMaxFloat();
|
|||
|
||||
/* OpenGL headers */
|
||||
|
||||
#if defined(VG_API_LINUX) || defined (VG_API_MACOSX)
|
||||
#if defined(VG_API_LINUX)
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
|
||||
#elif defined(VG_API_MACOSX)
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/glu.h>
|
||||
#elif defined(VG_API_WINDOWS)
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue