Revert "crossplatform.mk: Tweak for Windows 8"
authorJerome St-Louis <jerome@ecere.com>
Sat, 24 Aug 2013 08:35:09 +0000 (04:35 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sat, 24 Aug 2013 08:35:09 +0000 (04:35 -0400)
- The problem had nothing to do with Windows 8, it was a bad mingw32-make.exe that sadly slipped into the 0.44.08 Windows installer

This reverts commit a1aaf6fa7345e8702ab3df13a9bbad784472348c.

crossplatform.mk

index 5f0fb29..b3b90c0 100644 (file)
@@ -221,13 +221,7 @@ endif
 endif
 ifdef WIN_SHELL_COMMANDS
    echo = $(if $(1),echo $(1))
-
-   WIN8 := $(shell ver | findstr "version 6.2")
-ifneq "$(WIN8)" ""
-   touch = $(if $(1),@cmd /c "for %I in ($(call sys_path,$(1))) do @(cd %~pI && type nul >> %~nxI && copy /by %~nxI+,, > nul 2>&1 && cd %cd%)")
-else
    touch = $(if $(1),@cmd /c "for %%I in ($(call sys_path,$(1))) do @(cd %%~pI && type nul >> %%~nxI && copy /by %%~nxI+,, > nul 2>&1 && cd %%cd%%)")
-endif
    cpq = $(if $(1),@cmd /c "for %%I in ($(call sys_path,$(1))) do copy /by %%I $(call sys_path,$(2))" > nul 2>&1)
    rmq = $(if $(1),-del /f /q $(call sys_path,$(1)) > nul 2>&1)
    rmrq = $(if $(1),-rmdir /q /s $(call sys_path,$(1)) > nul 2>&1)