Browse Source

build better in msvc7

David Rose 21 years ago
parent
commit
f162556f72
2 changed files with 3 additions and 1 deletions
  1. 1 1
      ppremake/config_msvc.h
  2. 2 0
      ppremake/ppDirectoryTree.cxx

+ 1 - 1
ppremake/config_msvc.h

@@ -80,7 +80,7 @@
 #define PACKAGE "ppremake"
 
 /* The default value of INSTALL_DIR within ppremake. */
-#define INSTALL_DIR "C:\\Panda3d"
+#define INSTALL_DIR "C:/Panda3d"
 
 /****************  UPDATE VERSION NUMBER HERE  ****************
  **         Also be sure to change the version number        **

+ 2 - 0
ppremake/ppDirectoryTree.cxx

@@ -8,6 +8,8 @@
 #include "ppDependableFile.h"
 #include "tokenize.h"
 
+#include <algorithm>
+
 ////////////////////////////////////////////////////////////////////
 //     Function: PPDirectoryTree::Constructor
 //       Access: Public