Build fix: do not include cstdint under MSYS/MinGW

This commit is contained in:
Cirilo Bernardo 2015-12-15 07:52:37 +11:00
parent f099ae27c5
commit b7d44368bd
1 changed files with 3 additions and 0 deletions

View File

@ -36,7 +36,10 @@
#define KICAD_PLUGIN_EXPORT extern "C" __attribute__((__visibility__("default")))
#endif
#else
#ifdef _MSC_VER
#include <cstdint>
#endif
#ifndef KICAD_PLUGIN_EXPORT
#define KICAD_PLUGIN_EXPORT extern "C" __declspec( dllexport )
#endif