From ef507c3c654d59575e8928e0a225c433bbe79aa7 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sat, 8 Jul 2017 18:21:32 +0200 Subject: Hackfest Regression: Fix profile_path() not returning the correct directory Also drop some unnecessary defines from the pre-XP era --- src/inkscape.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/inkscape.cpp') diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 22f7230a0..24a744bbd 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -30,20 +30,6 @@ #include "debug/simple-event.h" #include "debug/event-tracker.h" -#ifndef WIN32 -# define HAS_PROC_SELF_EXE //to get path of executable -#else - -#if !defined(_WIN32_IE) || (_WIN32_IE < 0x0400) -# undef _WIN32_IE -# define _WIN32_IE 0x0400 -#endif -//#define HAS_SHGetSpecialFolderPath -#define HAS_SHGetSpecialFolderLocation -#define HAS_GetModuleFileName -# include -#endif - #include #include #include -- cgit v1.2.3