From: James Turner Date: Sun, 17 Jun 2012 20:12:47 +0000 (+0100) Subject: Fix OS-X compilation. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3afd6e9f516dd3b62e58893230d3d163bccb980f;p=simgear.git Fix OS-X compilation. --- diff --git a/simgear/canvas/ShivaVG/src/shConfig.h b/simgear/canvas/ShivaVG/src/shConfig.h index 85fc809a..d701c279 100644 --- a/simgear/canvas/ShivaVG/src/shConfig.h +++ b/simgear/canvas/ShivaVG/src/shConfig.h @@ -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__) diff --git a/simgear/canvas/ShivaVG/src/shDefs.h b/simgear/canvas/ShivaVG/src/shDefs.h index e3c020e5..d6e57a78 100644 --- a/simgear/canvas/ShivaVG/src/shDefs.h +++ b/simgear/canvas/ShivaVG/src/shDefs.h @@ -156,10 +156,12 @@ SHfloat getMaxFloat(); /* OpenGL headers */ -#if defined(VG_API_LINUX) || defined (VG_API_MACOSX) +#if defined(VG_API_LINUX) #include #include - +#elif defined(VG_API_MACOSX) + #include + #include #elif defined(VG_API_WINDOWS) #include #include