flag for static symbols
p4raw-id: //depot/win32/perl@876
# define EXTCONST globalref
# define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
#else
-# if defined(WIN32) && !defined(__GNUC__)
+# if defined(WIN32) && !defined(PERL_STATIC_SYMS) && !defined(__GNUC__)
# ifdef PERLDLL
# define EXT extern __declspec(dllexport)
# define dEXT
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;
#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 */