Stick to -DWCE_PLATFORM_$wceplatf, as that's what is apparently set by

Visual Studio IDE.
This commit is contained in:
Andy Polyakov 2005-08-02 12:21:18 +00:00
parent 8a35fb3bea
commit 11a4e58fc1

View file

@ -48,7 +48,7 @@ elsif ($FLAVOR =~ /CE/)
{ $wcelflag .= " /machine:$ENV{'TARGETCPU'}"; }
$wceplatf = $ENV{'PLATFORM'};
$wceplatf =~ tr/a-z0-9 /A-Z0-9_/d;
$wcecdefs .= " -DWCE_$wceplatf";
$wcecdefs .= " -DWCE_PLATFORM_$wceplatf";
$cc='$(CC)';
$base_cflags=' /W3 /WX /Gs0 /GF /Gy /nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -I$(WCECOMPAT)/include';