Browse Source

fix broken commit `type fix for Visual Studio'

rlar 15 years ago
parent
commit
77d1104880
  1. 4
      ChangeLog
  2. 5
      src/spicelib/devices/dev.c

4
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

5
src/spicelib/devices/dev.c

@ -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 *);

Loading…
Cancel
Save