#define XS(name) void name(cv) CV* cv;
#endif
-#if defined(WIN32) && defined(__GNUC__)
+#if 0 /*defined(WIN32) && defined(__GNUC__)*/ /* this bug is gone in mingw32/gcc-2.8.0*/
#define STRINGIFY_THINGY(x) #x
#define FORCE_ARG_STRING(x) STRINGIFY_THINGY(x)
#else
#ifdef XS_VERSION
# define XS_VERSION_BOOTCHECK \
STMT_START { \
- char *xs_version = FORCE_ARG_STRING(XS_VERSION); \
+ char *xs_version = FORCE_ARG_STRING(XS_VERSION); \
char *vn = "", *module = SvPV(ST(0),na); \
if (items >= 2) /* version supplied as bootstrap arg */ \
Sv = ST(1); \
# uncomment one
#CCTYPE *= MSVC20
#CCTYPE *= MSVC
-#CCTYPE *= BORLAND
-CCTYPE *= GCC
+CCTYPE *= BORLAND
+#CCTYPE *= GCC
#
# uncomment next line if you want debug version of perl (big,slow)
#
# set the install locations of the compiler include/libraries
#CCHOME *= f:\msdev\vc
-#CCHOME *= C:\bc5
-CCHOME *= D:\packages\mingw32
+CCHOME *= C:\bc5
+#CCHOME *= D:\packages\mingw32
CCINCDIR *= $(CCHOME)\include
CCLIBDIR *= $(CCHOME)\lib
.ELIF "$(CCTYPE)" == "GCC"
CC = gcc -pipe
-LINK32 = gcc
+LINK32 = gcc -pipe
LIB32 = ar
IMPLIB = dlltool
DllExport void Perl_win32_init(int *argcp, char ***argvp);
DllExport void Perl_init_os_extras(void);
-/*DllExport void win32_str_os_error(struct sv *s, DWORD err);*/
DllExport void win32_str_os_error(void *sv, DWORD err);
#ifndef USE_SOCKETS_AS_HANDLES