Author: cwittich
Date: Wed Sep 5 00:19:57 2007
New Revision: 28856
URL:
http://svn.reactos.org/svn/reactos?rev=28856&view=rev
Log:
fix some of the linux build issues
Modified:
trunk/reactos/tools/sysreg/sysreg.mak
trunk/reactos/tools/sysreg/user_types.h
Modified: trunk/reactos/tools/sysreg/sysreg.mak
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/sysreg.mak?re…
==============================================================================
--- trunk/reactos/tools/sysreg/sysreg.mak (original)
+++ trunk/reactos/tools/sysreg/sysreg.mak Wed Sep 5 00:19:57 2007
@@ -18,19 +18,6 @@
SYSREGBUILD_TARGET = \
$(EXEPREFIX)$(SYSREGBUILD_OUT_)sysreg$(EXEPOSTFIX)
-ifeq ($(HOST),mingw32-linux)
-SYSREGBUILD_SOURCES = $(addprefix $(SYSREGBUILD_BASE_),\
- conf_parser.cpp \
- env_var.cpp \
- pipe_reader.cpp \
- rosboot_test.cpp \
- sysreg.cpp \
- file_reader.cpp \
- os_support.cpp \
- unicode.cpp \
- )
-
-else
SYSREGBUILD_SOURCES = $(addprefix $(SYSREGBUILD_BASE_),\
conf_parser.cpp \
env_var.cpp \
@@ -41,7 +28,6 @@
os_support.cpp \
unicode.cpp \
)
-endif
SYSREGBUILD_OBJECTS = \
$(addprefix $(INTERMEDIATE_), $(SYSREGBUILD_SOURCES:.cpp=.o))
@@ -75,11 +61,9 @@
$(ECHO_CC)
${host_gpp} $(SYSREGBUILD_HOST_CFLAGS) -c $< -o $@
-ifneq ($(HOST),mingw32-linux)
$(SYSREGBUILD_INT_)namedpipe_reader.o: $(SYSREGBUILD_BASE_)namedpipe_reader.cpp |
$(SYSREGBUILD_INT)
$(ECHO_CC)
${host_gpp} $(SYSREGBUILD_HOST_CFLAGS) -c $< -o $@
-endif
$(SYSREGBUILD_INT_)rosboot_test.o: $(SYSREGBUILD_BASE_)rosboot_test.cpp |
$(SYSREGBUILD_INT)
$(ECHO_CC)
Modified: trunk/reactos/tools/sysreg/user_types.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/user_types.h?…
==============================================================================
--- trunk/reactos/tools/sysreg/user_types.h (original)
+++ trunk/reactos/tools/sysreg/user_types.h Wed Sep 5 00:19:57 2007
@@ -18,6 +18,7 @@
#else
#define TCHAR char
#define tstrcpy strcpy
+ #define _tcschr strchr
#define _tcscat strcat
#define _tcscpy(str1, str2) strcpy(str1, str2)
#define _tcslen(str1) strlen(str1)