diff --git a/go.bat b/go.bat index 48428a3f7..d999ccad2 100644 --- a/go.bat +++ b/go.bat @@ -2,4 +2,5 @@ cl /c /DBIGSYM=1 /Foinit_rs.obj init_rs.c cl /c /DBIGSYM=1 /Foencode_rs.obj encode_rs.c cl /c /DBIGSYM=1 /Ox /Zd /Fodecode_rs.obj decode_rs.c cl /c /DWIN32=1 wrapkarn.c -df /exe:JT65code.exe JT65code_all.f /link wrapkarn.obj init_rs.obj encode_rs.obj decode_rs.obj +cl /c /DWIN32=1 igray.c +df /exe:JT65code.exe JT65code_all.f /link wrapkarn.obj init_rs.obj encode_rs.obj decode_rs.obj igray.obj diff --git a/igray.c b/igray.c index 4646898b5..e46b4f1f7 100644 --- a/igray.c +++ b/igray.c @@ -1,4 +1,8 @@ +#ifdef WIN32 +extern int __stdcall IGRAY(int *n0, int *idir) +#else int igray_(int *n0, int *idir) +#endif { int n; unsigned long sh; diff --git a/wsjt.py b/wsjt.py index 444a400ac..1872d0db8 100644 --- a/wsjt.py +++ b/wsjt.py @@ -1,4 +1,4 @@ -# ----------------------------------------------------------- WSJT +# ---------------------------------------------------------- WSJT from Tkinter import * from tkFileDialog import * import Pmw