Windows (compiler specific) includes for libpbd

This commit is contained in:
John Emmas 2013-07-16 18:00:49 +01:00
parent e4ab2ffbfb
commit 7b480eaa27
14 changed files with 78 additions and 6 deletions

View file

@ -24,7 +24,12 @@
#include "pbd/epa.h"
#include "pbd/strsplit.h"
#ifdef COMPILER_MSVC
#define environ _environ
_CRTIMP extern char ** _environ;
#else
extern char** environ;
#endif
using namespace PBD;
using namespace std;