Undo changes from 4998b114e that break existing MSVC build

This defines should be in common header file and wrapped
in an #ifndef clause
This commit is contained in:
Robin Gareus
2025-11-10 16:00:48 +01:00
parent 7a5558af65
commit 57fc904004
2 changed files with 0 additions and 7 deletions

View File

@@ -15,9 +15,6 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifdef COMPILER_MSVC
#define _USE_MATH_DEFINES
#endif
#include <math.h>

View File

@@ -23,10 +23,6 @@
#include "pbd/windows_special_dirs.h"
#if defined (COMPILER_MSVC) && !defined (PATH_MAX)
#define PATH_MAX _MAX_PATH
#endif
std::string
PBD::get_win_special_folder_path (int csidl)
{