From bb3e5e9bb1c0267eef7413b8124464a1a3876fa6 Mon Sep 17 00:00:00 2001 From: Daniel Richard G Date: Wed, 13 Nov 2013 02:26:18 -0500 Subject: [PATCH] Minor follow-up changes solvespace.h: Need to #define MAX_PATH on POSIX systems resource.rc: icon.ico now lives in the same directory as this file --- src/solvespace.h | 3 +++ src/win32/resource.rc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/solvespace.h b/src/solvespace.h index 500834d..63a355f 100644 --- a/src/solvespace.h +++ b/src/solvespace.h @@ -106,6 +106,9 @@ class ExprVector; class ExprQuaternion; class RgbColor; +#ifndef MAX_PATH +# define MAX_PATH PATH_MAX +#endif //================ // From the platform-specific code. diff --git a/src/win32/resource.rc b/src/win32/resource.rc index 19e0a82..e402f8b 100644 --- a/src/win32/resource.rc +++ b/src/win32/resource.rc @@ -3,4 +3,4 @@ // with my SDK install (I don't think I've got *.rh right) 1 24 "manifest.xml" -4000 ICON "../icon.ico" +4000 ICON "icon.ico"