# HG changeset patch # User Carl Byington # Date 1575997632 28800 # Node ID 58149891ea7b056cf41824723abca7debdeabe0f # Parent 2379a4d8d9c71eccac498851de220e2f80f41c55 Paul Wise - add extern "C" to header for use with C++ code diff -r 2379a4d8d9c7 -r 58149891ea7b AUTHORS --- a/AUTHORS Thu Jul 25 07:43:49 2019 -0700 +++ b/AUTHORS Tue Dec 10 09:07:12 2019 -0800 @@ -45,6 +45,7 @@ Vitaliy Didik Alfredo Esteban Tim Dufrane + Paul Wise Testing team: Mac OSX - Michael Watson diff -r 2379a4d8d9c7 -r 58149891ea7b src/libpst.h --- a/src/libpst.h Thu Jul 25 07:43:49 2019 -0700 +++ b/src/libpst.h Tue Dec 10 09:07:12 2019 -0800 @@ -13,6 +13,11 @@ #include "common.h" +#ifdef __cplusplus +extern "C" { +#endif + + // switch to maximal packing for all structures in the libpst interface // this is reverted at the end of this file #ifdef _MSC_VER @@ -1163,4 +1168,10 @@ +#ifdef __cplusplus +} #endif + + + +#endif