Browse Source

Fix compile issue, and add plugin_common_composite

rdb 16 years ago
parent
commit
c67c5a4c14

+ 0 - 22
direct/src/plugin/mkdir_complete.cxx

@@ -23,26 +23,6 @@
 #endif
 
 
-
-////////////////////////////////////////////////////////////////////
-//     Function: is_pathsep
-//  Description: Returns true if the indicated character is a path
-//               separator character (e.g. slash or backslash), false
-//               otherwise.
-////////////////////////////////////////////////////////////////////
-static inline bool
-is_pathsep(char ch) {
-  if (ch == '/') {
-    return true;
-  }
-#ifdef _WIN32
-  if (ch == '\\') {
-    return true;
-  }
-#endif
-  return false;
-}
-
 ////////////////////////////////////////////////////////////////////
 //     Function: get_dirname
 //  Description: Returns the directory component of the indicated
@@ -62,8 +42,6 @@ get_dirname(const string &filename) {
   return string();
 }
 
-
-
 ////////////////////////////////////////////////////////////////////
 //     Function: mkdir_complete
 //  Description: Creates a new directory, with normal access

+ 4 - 0
direct/src/plugin/plugin_common_composite1.cxx

@@ -0,0 +1,4 @@
+#include "load_plugin.cxx"
+#include "fileSpec.cxx"
+#include "find_root_dir.cxx"
+#include "mkdir_complete.cxx"