summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2007-07-31 14:03:29 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2007-07-31 14:03:29 (GMT)
commit925ecdd43a49ca4c8153279234af3a47d493facd (patch)
treee246af936566ad2a9588b2ee5b382e905c9a4615 /win
parent6a2b204a3f4a820947624b6716fe2072302df40e (diff)
downloadtcl-925ecdd43a49ca4c8153279234af3a47d493facd.zip
tcl-925ecdd43a49ca4c8153279234af3a47d493facd.tar.gz
tcl-925ecdd43a49ca4c8153279234af3a47d493facd.tar.bz2
* unix/configure.in: allow use of 'inline' in Tcl sources
* win/configure.in: [Patch 1754128] * win/makefile.vc:
Diffstat (limited to 'win')
-rw-r--r--win/configure.in3
-rw-r--r--win/makefile.vc4
2 files changed, 4 insertions, 3 deletions
diff --git a/win/configure.in b/win/configure.in
index 0c8b38e..e2b790f 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -3,7 +3,7 @@
# generate the file "configure", which is run during Tcl installation
# to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.92 2007/05/18 18:39:34 dgp Exp $
+# RCS: @(#) $Id: configure.in,v 1.93 2007/07/31 14:03:30 msofer Exp $
AC_INIT(../generic/tcl.h)
AC_PREREQ(2.59)
@@ -55,6 +55,7 @@ if test "${CFLAGS+set}" != "set" ; then
fi
AC_PROG_CC
+AC_C_INLINE
# To properly support cross-compilation, one would
# need to use these tool checks instead of
diff --git a/win/makefile.vc b/win/makefile.vc
index 4ea7135..77b3538 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -12,7 +12,7 @@
# Copyright (c) 2001-2004 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.161 2007/06/28 21:24:58 dgp Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.162 2007/07/31 14:03:30 msofer Exp $
#------------------------------------------------------------------------------
# Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR)
@@ -456,7 +456,7 @@ crt = -MT
TCL_INCLUDES = -I"$(WINDIR)" -I"$(GENERICDIR)" -I"$(TOMMATHDIR)"
BASE_CFLAGS = $(cflags) $(cdebug) $(crt) $(TCL_INCLUDES) \
-DTCL_PIPE_DLL=\"$(TCLPIPEDLLNAME)\" -DTCL_TOMMATH \
- -DMP_PREC=4
+ -DMP_PREC=4 -Dinline=__inline
CON_CFLAGS = $(cflags) $(cdebug) $(crt) -DCONSOLE
TCL_CFLAGS = $(BASE_CFLAGS) $(OPTDEFINES)
STUB_CFLAGS = $(cflags) $(cdebug) $(OPTDEFINES)