|
|
@ -70,26 +70,23 @@
|
|
|
|
#define _MAX_PATH 512
|
|
|
|
#define _MAX_PATH 512
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// platform specific support for dumpLibraryInfo
|
|
|
|
|
|
|
|
#if defined(WIN32)
|
|
|
|
|
|
|
|
# include <windows.h>
|
|
|
|
|
|
|
|
# include <psapi.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// tell MSVC to link psapi.
|
|
|
|
// tell MSVC to link psapi.
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma comment( lib, "psapi" )
|
|
|
|
#pragma comment( lib, "psapi" )
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// platform specific support for getLoadedLibraries
|
|
|
|
|
|
|
|
#if defined(WIN32)
|
|
|
|
|
|
|
|
# include <windows.h>
|
|
|
|
|
|
|
|
# include <psapi.h>
|
|
|
|
#elif defined(__APPLE__)
|
|
|
|
#elif defined(__APPLE__)
|
|
|
|
# include <mach-o/dyld.h>
|
|
|
|
# include <mach-o/dyld.h>
|
|
|
|
#endif
|
|
|
|
#elif defined(__FreeBSD__)
|
|
|
|
|
|
|
|
# include <sys/param.h>
|
|
|
|
#if defined(__FreeBSD__)
|
|
|
|
# include <sys/queue.h>
|
|
|
|
#include <sys/param.h>
|
|
|
|
# include <sys/socket.h>
|
|
|
|
#include <sys/queue.h>
|
|
|
|
# include <sys/sysctl.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
# include <libprocstat.h>
|
|
|
|
#include <sys/sysctl.h>
|
|
|
|
|
|
|
|
#include <libprocstat.h>
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
namespace Exiv2 {
|
|
|
|
namespace Exiv2 {
|
|
|
|