projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new fortune.
[feisty_meow.git]
/
nucleus
/
library
/
versions
/
version_checker.cpp
diff --git
a/nucleus/library/versions/version_checker.cpp
b/nucleus/library/versions/version_checker.cpp
index 4f14e25778adecfa5ff89f1c6036eb226ece16c6..8878851777f1401b334fd7c6b97cba1862f10f03 100644
(file)
--- a/
nucleus/library/versions/version_checker.cpp
+++ b/
nucleus/library/versions/version_checker.cpp
@@
-110,15
+110,13
@@
void *version_checker::get_handle(const astring &library_file_name)
#ifdef __WIN32__
return GetModuleHandle(to_unicode_temp(library_file_name));
#else
#ifdef __WIN32__
return GetModuleHandle(to_unicode_temp(library_file_name));
#else
-//hmmm: there really isn't this concept on OSes that i'm aware of.
- return 0 && library_file_name.t();
+ if (library_file_name.t()) return NIL; else return NIL;
#endif
}
astring version_checker::module_name(const void *module_handle)
{
#ifdef __UNIX__
#endif
}
astring version_checker::module_name(const void *module_handle)
{
#ifdef __UNIX__
-//hmmm: implement module name for linux if that makes sense.
if (module_handle) {}
return application_configuration::application_name();
#elif defined(__WIN32__)
if (module_handle) {}
return application_configuration::application_name();
#elif defined(__WIN32__)
@@
-129,7
+127,7
@@
astring version_checker::module_name(const void *module_handle)
return buff;
#else
#pragma message("module_name unknown for this operating system.")
return buff;
#else
#pragma message("module_name unknown for this operating system.")
- return application_name();
+ return application_
configuration::application_
name();
#endif
}
#endif
}