Fix ShaderVG compilation on macOS (and others?)

We had a manual change in ShivaVG, to include the shConfig.h file
explicitly, since the sources do not include it themselves. Replicate
this change in our copy of ShaderVG.

Necessary to fix compilation on macOS and likely FreeBSD as well.
This commit is contained in:
James Turner 2022-03-09 10:43:22 +00:00
parent ddb5e52885
commit 56e3a652f9

View File

@ -21,6 +21,12 @@
#ifndef __SHDEFS_H
#define __SHDEFS_H
// FlightGear change : include shConfig.h here, since the logic below requires it.
// wondering if this file is supposed to be auto-included, since there is no explicit
// include of it anywhere in Shader/Shiva sources.
#include "shConfig.h"
// end of FlightGear change
/* Standard headers */
#ifdef VG_API_WINDOWS