diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-04-04 17:26:32 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-04-04 17:26:32 +0000 |
commit | 9c293c15158bfb03b0eee7c1709475e67ecfa0fb (patch) | |
tree | 43b9e41544eec6978923a2109b6feeaab6cba578 /ext/SDBM_File | |
parent | 1a441de9e39aa86c8c59c2fcffec5059a718b16e (diff) | |
download | perl-9c293c15158bfb03b0eee7c1709475e67ecfa0fb.tar.gz |
[win32] remove __declspec kludge in sdbm.h in favor of setting a
flag for static symbols
p4raw-id: //depot/win32/perl@876
Diffstat (limited to 'ext/SDBM_File')
-rw-r--r-- | ext/SDBM_File/sdbm/Makefile.PL | 2 | ||||
-rw-r--r-- | ext/SDBM_File/sdbm/sdbm.h | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/ext/SDBM_File/sdbm/Makefile.PL b/ext/SDBM_File/sdbm/Makefile.PL index 96f5b7af91..24074afb85 100644 --- a/ext/SDBM_File/sdbm/Makefile.PL +++ b/ext/SDBM_File/sdbm/Makefile.PL @@ -1,7 +1,7 @@ use ExtUtils::MakeMaker; $define = '-DSDBM -DDUFF'; -$define .= ' -DWIN32' if ($^O eq 'MSWin32'); +$define .= ' -DWIN32 -DPERL_STATIC_SYMS' if ($^O eq 'MSWin32'); if ($^O eq 'VMS') { # Old VAXC compiler can't handle Duff's device require Config; diff --git a/ext/SDBM_File/sdbm/sdbm.h b/ext/SDBM_File/sdbm/sdbm.h index 3a1f57cc43..0747b74dfa 100644 --- a/ext/SDBM_File/sdbm/sdbm.h +++ b/ext/SDBM_File/sdbm/sdbm.h @@ -16,11 +16,6 @@ #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 */ |