diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-04-04 00:34:59 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-04-04 00:34:59 +0000 |
commit | 8803afc236dca2c2990fc3236c7c43e710a099fb (patch) | |
tree | c14843bb5eb5b89c8bde47463462fbfceb73b5f7 /ext/SDBM_File/sdbm | |
parent | bdaec6b36efe12c0539b2ccaed346b366ccc871b (diff) | |
download | perl-8803afc236dca2c2990fc3236c7c43e710a099fb.tar.gz |
[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
Diffstat (limited to 'ext/SDBM_File/sdbm')
-rw-r--r-- | ext/SDBM_File/sdbm/sdbm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/SDBM_File/sdbm/sdbm.h b/ext/SDBM_File/sdbm/sdbm.h index 0747b74dfa..3a1f57cc43 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 */ |