From 7b480eaa27d73e2e5c21c6ac785a1aa2fb3aa51a Mon Sep 17 00:00:00 2001 From: John Emmas Date: Tue, 16 Jul 2013 18:00:49 +0100 Subject: Windows (compiler specific) includes for libpbd --- libs/pbd/epa.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libs/pbd/epa.cc') diff --git a/libs/pbd/epa.cc b/libs/pbd/epa.cc index d8a3cd5a65..1a27a436a6 100644 --- a/libs/pbd/epa.cc +++ b/libs/pbd/epa.cc @@ -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; -- cgit v1.2.3