Commit 291360bc authored by Ole Streicher's avatar Ole Streicher

New upstream version 3.2.8

parent 8dd2797d
......@@ -5763,9 +5763,12 @@ generic/tkbltDecls.h
done
#if test "windows" = "${TEA_PLATFORM}"; then
#TEA_ADD_CFLAGS([-TP -EHsc -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES])
#fi
if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes"; then
PKG_CFLAGS="$PKG_CFLAGS -TP -EHsc -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES"
fi
vars="tkbltStubLib.C"
for i in $vars; do
......
......@@ -128,9 +128,9 @@ generic/tkbltDecls.h
])
TEA_ADD_INCLUDES([])
TEA_ADD_LIBS([-lstdc++])
#if test "windows" = "${TEA_PLATFORM}"; then
#TEA_ADD_CFLAGS([-TP -EHsc -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES])
#fi
if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes"; then
TEA_ADD_CFLAGS([-TP -EHsc -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES])
fi
TEA_ADD_STUB_SOURCES([tkbltStubLib.C])
TEA_ADD_TCL_SOURCES([library/graph.tcl])
......
......@@ -32,8 +32,8 @@
using namespace std;
extern "C" {
Tcl_AppInitProc Tkblt_Init;
Tcl_AppInitProc Tkblt_SafeInit;
DLLEXPORT Tcl_AppInitProc Tkblt_Init;
DLLEXPORT Tcl_AppInitProc Tkblt_SafeInit;
};
Tcl_AppInitProc Blt_VectorCmdInitProc;
......@@ -41,7 +41,7 @@ Tcl_AppInitProc Blt_GraphCmdInitProc;
#include "tkbltStubInit.c"
int Tkblt_Init(Tcl_Interp* interp)
DLLEXPORT int Tkblt_Init(Tcl_Interp* interp)
{
Tcl_Namespace *nsPtr;
......@@ -68,7 +68,7 @@ int Tkblt_Init(Tcl_Interp* interp)
return TCL_OK;
}
int Tkblt_SafeInit(Tcl_Interp* interp)
DLLEXPORT int Tkblt_SafeInit(Tcl_Interp* interp)
{
return Tkblt_Init(interp);
}
......@@ -57,6 +57,7 @@
#include "tkbltOp.h"
#include "tkbltNsUtil.h"
#include "tkbltSwitch.h"
#include "tkbltInt.h"
using namespace Blt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment