updates from orpheus for windoze build
[feisty_meow.git] / nucleus / applications / bundler / unpacker_stub.cpp
index 858724764561723e4470c8906f5f927d150e502f..a9de74afd3185068065b60c43aeae259fe212771 100644 (file)
 #include <stdio.h>
 #include <sys/stat.h>
 #include <zlib.h>
-#ifdef __UNIX__
+//#ifdef __UNIX__
   #include <utime.h>
-#endif
+//#endif
+/*
 #ifdef _MSC_VER
   #include <direct.h>
   #include <io.h>
   #include <shlobj.h>
   #include <sys/utime.h>
 #endif
+*/
 
 using namespace application;
 using namespace basis;
@@ -446,7 +448,7 @@ int unpacker_stub::execute()
         }
       }
 
-      byte_filer *targo = NIL;
+      byte_filer *targo = NULL_POINTER;
       if (keyword_good) targo = new byte_filer(curr._payload, "wb");
       byte_array uncompressed(256 * KILOBYTE);  // fluff it out to begin with.
       byte_array temp(256 * KILOBYTE);