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"