diff --git a/include/mapnik/enumeration.hpp b/include/mapnik/enumeration.hpp index 3592bec13..9b61c7e3e 100644 --- a/include/mapnik/enumeration.hpp +++ b/include/mapnik/enumeration.hpp @@ -320,7 +320,7 @@ operator>>(std::istream & is, mapnik::enumeration & e) /** Helper macro. Creates a typedef. * @relates mapnik::enumeration */ -#ifdef _MSC_VER_ +#ifdef _MSC_VER #define DEFINE_ENUM( name, e) \ template enumeration; \ typedef enumeration name diff --git a/tests/run_tests.py b/tests/run_tests.py index 24db67b47..128ded2fa 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -72,8 +72,8 @@ def main(): argv.append('-v') argv.append('-v') - dirname = os.path.dirname(sys.argv[0]) - argv.extend(['-w', dirname+'/python_tests']) + dirname = os.path.dirname(sys.argv[0]) + argv.extend(['-w', os.path.join(dirname,'python_tests')]) if not nose.run(argv=argv, plugins=[TodoPlugin(), Doctest()]): sys.exit(1)