summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-04-04 00:34:59 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-04-04 00:34:59 +0000
commit8803afc236dca2c2990fc3236c7c43e710a099fb (patch)
treec14843bb5eb5b89c8bde47463462fbfceb73b5f7
parentbdaec6b36efe12c0539b2ccaed346b366ccc871b (diff)
downloadperl-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
-rw-r--r--ext/SDBM_File/sdbm/sdbm.h5
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 */