[Sumover-dev] [svn commit] r4552 - rat/trunk
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Thu Jan 7 16:17:03 GMT 2010
Author: piers
Date: Thu Jan 7 16:17:03 2010
New Revision: 4552
Modified:
rat/trunk/config_win32.h
rat/trunk/tcltk.c
Log:
Some minor tweaks for Vista/WinXP compatibility.
Modified: rat/trunk/config_win32.h
==============================================================================
--- rat/trunk/config_win32.h (original)
+++ rat/trunk/config_win32.h Thu Jan 7 16:17:03 2010
@@ -149,7 +149,9 @@
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
+#ifndef RegGetValue
int RegGetValue(HKEY *, char *, char*, char*, int);
+#endif
void ShowMessage(int level, char *msg);
#define bcopy(from,to,len) memcpy(to,from,len)
Modified: rat/trunk/tcltk.c
==============================================================================
--- rat/trunk/tcltk.c (original)
+++ rat/trunk/tcltk.c Thu Jan 7 16:17:03 2010
@@ -189,6 +189,7 @@
return TCL_OK;
}
+#ifndef RegGetValue
int
RegGetValue(HKEY* key, char *subkey, char *value, char *dst, int dlen)
{
@@ -217,6 +218,7 @@
return TRUE;
}
#endif
+#endif
Tcl_Interp *interp; /* Interpreter for application. */
char *engine_addr;
More information about the Sumover-dev
mailing list