From: Gurusamy Sarathy Date: Sat, 4 Apr 1998 00:34:59 +0000 (+0000) Subject: [win32] the EXTCONST in sdbm.h breaks SDBM on Borland, since X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8803afc236dca2c2990fc3236c7c43e710a099fb;p=p5sagit%2Fp5-mst-13.2.git [win32] the EXTCONST in sdbm.h breaks SDBM on Borland, since the declared symbol is not in a DLL (so kludge it) p4raw-id: //depot/win32/perl@874 --- diff --git a/ext/SDBM_File/sdbm/sdbm.h b/ext/SDBM_File/sdbm/sdbm.h index 0747b74..3a1f57c 100644 --- a/ext/SDBM_File/sdbm/sdbm.h +++ b/ext/SDBM_File/sdbm/sdbm.h @@ -16,6 +16,11 @@ #endif #define PAGFEXT ".pag" +#ifdef WIN32 +#undef __declspec +#define __declspec(t) /* kludge for EXTCONST below */ +#endif + typedef struct { int dirf; /* directory file descriptor */ int pagf; /* page file descriptor */