Windows #ifdef code missed semicolon.
This commit is contained in:
2009-07-03 13:48:42 +00:00
parent ea287fc4ec
commit a7d6b6eebf

View File

@@ -162,14 +162,14 @@ void BPY_start_python_path(void)
#if (defined(WIN32) || defined(WIN64)) #if (defined(WIN32) || defined(WIN64))
#if defined(FREE_WINDOWS) #if defined(FREE_WINDOWS)
sprintf(py_path, "PYTHONPATH=%s", py_path_bundle) sprintf(py_path, "PYTHONPATH=%s", py_path_bundle);
putenv(py_path); putenv(py_path);
#else #else
_putenv_s("PYTHONPATH", py_path_bundle); _putenv_s("PYTHONPATH", py_path_bundle);
#endif #endif
#else #else
#ifdef __sgi #ifdef __sgi
sprintf(py_path, "PYTHONPATH=%s", py_path_bundle) sprintf(py_path, "PYTHONPATH=%s", py_path_bundle);
putenv(py_path); putenv(py_path);
#else #else
setenv("PYTHONPATH", py_path_bundle, 1); setenv("PYTHONPATH", py_path_bundle, 1);