fix broken commit `type fix for Visual Studio'

This commit is contained in:
rlar 2011-08-06 08:38:09 +00:00
parent 36f6eb6a89
commit 77d1104880
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -45,15 +45,14 @@
#include <string.h> /* for strcpy, strcat*/
#if (!defined HAS_WINDOWS) && (!defined __MINGW32__) && (!defined _MSC_VER)
#include <dlfcn.h> /* to load libraries*/
typedef void * funptr_t;
#else /* ifdef HAS_WINDOWS */
#undef BOOLEAN
#include <windows.h>
#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 *);