Removed dependency on jfwapi.h
authorEric Mullins <emwine@earthlink.net>
Tue, 14 Jul 2009 04:26:10 +0000 (22:26 -0600)
committerEric Mullins <emwine@earthlink.net>
Tue, 14 Jul 2009 04:26:10 +0000 (22:26 -0600)
Allows anyone to compile a jaws compatible binary.

winboard/jaws.c

index c62f247..4502178 100644 (file)
@@ -147,8 +147,8 @@ char* SquareToNum(y)
 \r
 \r
 // from winboard.c: all new routines\r
 \r
 \r
 // from winboard.c: all new routines\r
-\r
-#include "jfwapi.h"\r
+#define JFWAPI __declspec(dllimport)\r
+JFWAPI BOOL WINAPI JFWSayString (LPCTSTR lpszStrinToSpeak, BOOL bInterrupt);\r
 \r
 typedef JFWAPI BOOL (WINAPI *PSAYSTRING)(LPCTSTR lpszStrinToSpeak, BOOL bInterrupt);\r
 \r
 \r
 typedef JFWAPI BOOL (WINAPI *PSAYSTRING)(LPCTSTR lpszStrinToSpeak, BOOL bInterrupt);\r
 \r