RPA Toolkit
Added support for UNICODECFG=no in the Windows build
authorMartin Stoilov <martin@sigmadrone.org>
Thu, 30 Sep 2021 13:11:09 +0000 (06:11 -0700)
committerMartin Stoilov <martin@sigmadrone.org>
Thu, 30 Sep 2021 13:11:09 +0000 (06:11 -0700)
rex/build/windows/i386/makefile
rex/build/windows/x64/makefile
rexcc/build/windows/i386/makefile
rexcc/build/windows/x64/makefile
rexgrep/build/windows/i386/makefile
rexgrep/build/windows/x64/makefile

index 223e6e3..98ac5fb 100644 (file)
@@ -44,6 +44,12 @@ CPP_FLAGS=/nologo $(INCLUDE_DIRS)  /Zi /W3 /EHsc  /Od /D "WIN32" /D "_DEBUG" /D
 
 !ENDIF
 
+!IF "$(UNICODECFG)" == "no"
+
+CPP_FLAGS=$(CPP_FLAGS) /D "REX_CHAR_TYPE=unsigned char"
+
+!ENDIF
+
 CPP_FLAGS=$(CPP_FLAGS)
 
 !IF "$(DBG_CONSOLE)" == "shut"
index 5ba25d2..4a89ed0 100644 (file)
@@ -44,6 +44,12 @@ CPP_FLAGS=/nologo $(INCLUDE_DIRS)  /Zi /W3 /EHsc  /Od /D "WIN32" /D "_DEBUG" /D
 
 !ENDIF
 
+!IF "$(UNICODECFG)" == "no"
+
+CPP_FLAGS=$(CPP_FLAGS) /D "REX_CHAR_TYPE=unsigned char"
+
+!ENDIF
+
 CPP_FLAGS=$(CPP_FLAGS)
 
 !IF "$(DBG_CONSOLE)" == "shut"
index 339967b..febc853 100644 (file)
@@ -49,6 +49,13 @@ LINK_DEBUG=/DEBUG
 
 !ENDIF
 
+!IF "$(UNICODECFG)" == "no"
+
+CPP_FLAGS=$(CPP_FLAGS) /D "REX_CHAR_TYPE=unsigned char"
+
+!ENDIF
+
+
 CPP_FLAGS=$(CPP_FLAGS)
 LIBS=$(REX_LIB) $(RLIB_LIB)
 
index 695fb45..dd6695a 100644 (file)
@@ -49,6 +49,13 @@ LINK_DEBUG=/DEBUG
 
 !ENDIF
 
+!IF "$(UNICODECFG)" == "no"
+
+CPP_FLAGS=$(CPP_FLAGS) /D "REX_CHAR_TYPE=unsigned char"
+
+!ENDIF
+
+
 CPP_FLAGS=$(CPP_FLAGS)
 LIBS=$(REX_LIB) $(RLIB_LIB)
 
index 199d649..a5939e8 100644 (file)
@@ -49,6 +49,12 @@ LINK_DEBUG=/DEBUG
 
 !ENDIF
 
+!IF "$(UNICODECFG)" == "no"
+
+CPP_FLAGS=$(CPP_FLAGS) /D "REX_CHAR_TYPE=unsigned char"
+
+!ENDIF
+
 CPP_FLAGS=$(CPP_FLAGS)
 LIBS=$(REX_LIB) $(RLIB_LIB)
 
index 064795b..3b37618 100644 (file)
@@ -49,6 +49,12 @@ LINK_DEBUG=/DEBUG
 
 !ENDIF
 
+!IF "$(UNICODECFG)" == "no"
+
+CPP_FLAGS=$(CPP_FLAGS) /D "REX_CHAR_TYPE=unsigned char"
+
+!ENDIF
+
 CPP_FLAGS=$(CPP_FLAGS)
 LIBS=$(REX_LIB) $(RLIB_LIB)