diff liboctave/util/lo-cutils.h @ 21236:5d23ea5c733a

eliminate configuration macros from lo-cutils.h * lo-cutils.h, lo-cutils.c (octave_w32_library_search): Delete. Don't include windows.h * oct-shlib.cc: (octave_w32_library_search): Delete extern decl. (octave_w32_shlib::octave_w32_shlib): Declare msg as const char*. (octave_w32_shlib::search): Call GetProcAddress directly.
author John W. Eaton <jwe@octave.org>
date Tue, 09 Feb 2016 13:37:25 -0500
parents f7d1050b9b53
children 1473547f50f5
line wrap: on
line diff
--- a/liboctave/util/lo-cutils.h	Tue Feb 09 10:35:28 2016 -0800
+++ b/liboctave/util/lo-cutils.h	Tue Feb 09 13:37:25 2016 -0500
@@ -25,11 +25,6 @@
 
 #include <sys/types.h>
 
-#ifdef HAVE_LOADLIBRARY_API
-#  define WIN32_LEAN_AND_MEAN 1
-#  include <windows.h>
-#endif
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -44,11 +39,6 @@
 OCTAVE_API int
 octave_strncasecmp (const char *s1, const char *s2, size_t n);
 
-#ifdef HAVE_LOADLIBRARY_API
-OCTAVE_API void *
-octave_w32_library_search (HINSTANCE handle, const char *name);
-#endif
-
 OCTAVE_API pid_t
 octave_waitpid (pid_t pid, int *status, int options);