Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
46096c08
Commit
46096c08
authored
Mar 11, 2006
by
Mathieu Malaterre
Browse files
ENH: Add support for LastError on HPUX
parent
347efded
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/kwsys/DynamicLoader.cxx
View file @
46096c08
...
...
@@ -22,6 +22,10 @@
#endif //MAC_OS_X_VERSION_MIN_REQUIRED < 1030
#endif // __APPLE__
#ifdef __hpux
#include
<errno.h>
#endif //__hpux
// Work-around CMake dependency scanning limitation. This must
// duplicate the above list of headers.
#if 0
...
...
@@ -119,6 +123,13 @@ const char* DynamicLoader::LastError()
* The specified handle is invalid.
*/
if
(
errno
==
ENOEXEC
||
errno
==
ENOSYM
||
errno
==
EINVAL
)
{
return
strerror
(
errno
);
}
// else
return
0
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment