diff --git a/ChangeLog b/ChangeLog index 6bb23ad80..4dca6805e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-08-05 Robert Larice + * src/spicelib/devices/dev.c : + fix broken commit `type fix for Visual Studio' + 2011-08-06 Holger Vogt * inpcom.c: code beautify, bug no. 3386184 * resource.c, resource.h, com_sysinfo.c: replace size_t by unsigned long long diff --git a/src/spicelib/devices/dev.c b/src/spicelib/devices/dev.c index 5fe0349b8..e9579c816 100644 --- a/src/spicelib/devices/dev.c +++ b/src/spicelib/devices/dev.c @@ -45,15 +45,14 @@ #include /* for strcpy, strcat*/ #if (!defined HAS_WINDOWS) && (!defined __MINGW32__) && (!defined _MSC_VER) #include /* to load libraries*/ +typedef void * funptr_t; #else /* ifdef HAS_WINDOWS */ #undef BOOLEAN #include #ifdef HAS_WINDOWS #include "wstdio.h" -typedef FARPROC funptr_t; -#else -typedef void * funptr_t; #endif +typedef FARPROC funptr_t; void *dlopen (const char *, int); funptr_t dlsym (void *, const char *); int dlclose (void *);