Ver Fonte

remove obsolete code branches

David Rose há 19 anos atrás
pai
commit
758947d603
1 ficheiros alterados com 0 adições e 48 exclusões
  1. 0 48
      dtool/src/dtoolutil/load_dso.cxx

+ 0 - 48
dtool/src/dtoolutil/load_dso.cxx

@@ -18,52 +18,6 @@
 
 #include "load_dso.h"
 
-#if defined(PENV_OSX)
-// These are not used on Macintosh OS X
-
-void *
-load_dso(const Filename &) {
-  return (void *) NULL;
-}
-
-bool
-unload_dso(void *dso_handle) {
- return false;
-}
-
-string
-load_dso_error() {
-  const char *message="load_dso_error() unsupported on OS X";
-  return message;
-}
-
-#elif defined(PENV_PS2)
-
-// The playstation2 can't do any of this stuff, so these functions are B O G U S
-
-void *
-load_dso(const Filename &)
-{
-  return (void *) NULL;
-}
-
-bool
-unload_dso(void *dso_handle) {
- return false;
-}
-
-string
-load_dso_error()
-{
-  ostringstream ps2errmsg;
-  ps2errmsg << "load_dso_error() unsupported on PS2";
-
-  return ps2errmsg.str();
-}
-
-#else
-
-
 #if defined(WIN32)
 /* begin Win32-specific code */
 
@@ -152,5 +106,3 @@ load_dso_error() {
 }
 
 #endif
-
-#endif // PS2