diff --git a/Source/PluginSpecs/PluginSpecs.h b/Source/PluginSpecs/PluginSpecs.h index c6f4af2fcf..612e4413f9 100644 --- a/Source/PluginSpecs/PluginSpecs.h +++ b/Source/PluginSpecs/PluginSpecs.h @@ -93,6 +93,11 @@ typedef struct char Name[100]; // Name of the DLL } PLUGIN_INFO; +#ifndef MAX_PATH +// apparently a windows-ism. +#define MAX_PATH 260 +#endif + // TODO: Remove, or at least remove the void pointers and replace with data. // This design is just wrong and ugly - the plugins shouldn't have this much access. typedef struct