*nix build fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4259 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-09-13 09:07:22 +00:00
parent be702ce750
commit 3ff95019b7
1 changed files with 5 additions and 0 deletions

View File

@ -93,6 +93,11 @@ typedef struct
char Name[100]; // Name of the DLL char Name[100]; // Name of the DLL
} PLUGIN_INFO; } 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. // 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. // This design is just wrong and ugly - the plugins shouldn't have this much access.
typedef struct typedef struct