git » fp-git.git » commit b27fa71

windows improvements

author ecalot
2006-01-06 23:38:19 UTC
committer ecalot
2006-01-06 23:38:19 UTC
parent 1ad1d16340179bf3c1fa0c57a7f73b04e4f8ff1f

windows improvements

PR/src/include/reslist.h +1 -1
PR/src/include/search.h +1 -1
PR/src/include/stringformat.h +2 -0
PR/src/include/types.h +1 -1

diff --git a/PR/src/include/reslist.h b/PR/src/include/reslist.h
index 14ff167..c43393c 100644
--- a/PR/src/include/reslist.h
+++ b/PR/src/include/reslist.h
@@ -35,7 +35,7 @@ reslist.h: Princed Resources : Resource list
 #define _RESLIST_H_
 
 #include "list.h" /* tList */
-#define tResourceList tList
+typedef tList tResourceList;
 
 #include "common.h" /* Item Types */
 
diff --git a/PR/src/include/search.h b/PR/src/include/search.h
index 18e3863..dbcbbb9 100644
--- a/PR/src/include/search.h
+++ b/PR/src/include/search.h
@@ -63,7 +63,7 @@ char* getFileFromList();
 /* Abstract passing structures */
 typedef struct tPassWork {
 	const char* datFile;
-	tResourceList* r;
+	tResourceList* rlist;
 }tPassWork;
 
 typedef struct tPassCompare {
diff --git a/PR/src/include/stringformat.h b/PR/src/include/stringformat.h
index 5b6323b..ce5672f 100644
--- a/PR/src/include/stringformat.h
+++ b/PR/src/include/stringformat.h
@@ -34,6 +34,8 @@ stringformat.c: Princed Resources : format string parsing header
 #ifndef _STRINGFORMAT_H_
 #define _STRINGFORMAT_H_
 
+#define isNumber(k) ('0'<=(k) && (k)<='9')
+
 const char* parseformat(const char* format,long value,const char* index, const char* type, const char* extension, long numberOfThisType, int order, const char* desc);
 	/* This function parses format in this way:
 	 * %v - the value
diff --git a/PR/src/include/types.h b/PR/src/include/types.h
index 14ff167..c43393c 100644
--- a/PR/src/include/types.h
+++ b/PR/src/include/types.h
@@ -35,7 +35,7 @@ reslist.h: Princed Resources : Resource list
 #define _RESLIST_H_
 
 #include "list.h" /* tList */
-#define tResourceList tList
+typedef tList tResourceList;
 
 #include "common.h" /* Item Types */