X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fversions%2Fversion_checker.cpp;fp=nucleus%2Flibrary%2Fversions%2Fversion_checker.cpp;h=70a8e2c47b8719cabd55ae8adb12d6b92cc0e47a;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=d3c2a235d608630dcb32eda51a59dade8cc865d1;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/nucleus/library/versions/version_checker.cpp b/nucleus/library/versions/version_checker.cpp index d3c2a235..70a8e2c4 100644 --- a/nucleus/library/versions/version_checker.cpp +++ b/nucleus/library/versions/version_checker.cpp @@ -33,7 +33,8 @@ using namespace structures; #ifndef BOOT_STRAPPING // pull in the version specified for this build. -///hmmm: on hold! #include <__build_version.h> + #include <__build_version.h> +//why was this include "on hold"? #else // plug in a fake version for our bootstrapping process. #define __build_FILE_VERSION "108.420.1024.10008" @@ -113,7 +114,7 @@ void *version_checker::get_handle(const astring &library_file_name) #if defined(_MSC_VER) return GetModuleHandle(to_unicode_temp(library_file_name)); #else - if (library_file_name.t()) return NIL; else return NIL; + if (library_file_name.t()) return NULL_POINTER; else return NULL_POINTER; #endif } @@ -207,7 +208,7 @@ version version_checker::retrieve_version(const astring &filename) #endif - byte_array version_info_found(0, NIL); + byte_array version_info_found(0, NULL_POINTER); if (!retrieve_version_info(filename, version_info_found)) return version(0, 0, 0, 0); @@ -248,7 +249,7 @@ bool version_checker::get_record(const astring &filename, version_record &to_fill) { to_fill = version_record(); - byte_array version_info_found(0, NIL); + byte_array version_info_found(0, NULL_POINTER); if (!retrieve_version_info(filename, version_info_found)) return false;